D9973: ktooltipwidget: Fix tooltip positioning

Michael Heidelbach noreply at phabricator.kde.org
Sat Jan 20 07:05:08 UTC 2018


michaelh added inline comments.

INLINE COMMENTS

> ktooltipwidget.cpp:147
>          } else {
> -            y = rect.top() - size.height() - margin;
> +            y = rect.top() - size.height() + margin;
>          }

This one is giving me headaches. By all logic it should be -margin. The resulting space is 3x too large in that case.
The '+margin' here is in fact the result of trial and error.

REPOSITORY
  R236 KWidgetsAddons

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

To: michaelh, elvisangelaccio, #frameworks, #dolphin, ngraham
Cc: cfeck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180120/9a8bb46d/attachment.html>


More information about the Kde-frameworks-devel mailing list