D27299: Vertically center tooltip icon/image

Noah Davis noreply at phabricator.kde.org
Mon Feb 10 18:01:48 GMT 2020


ndavis added inline comments.

INLINE COMMENTS

> DefaultToolTip.qml:57
>              visible: toolTip != null && toolTip.image != ""
> -            Layout.alignment: Qt.AlignTop
> +            Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
>          }

Do you actually need Qt.AlignHCenter? Isn't there some margin setting that decides how the text is placed relative to the icon?

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  vertically-center-tooltip-icon (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27299

To: ngraham, #vdg, #plasma, filipf, ndavis
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200210/e8ecd305/attachment.html>


More information about the Kde-frameworks-devel mailing list