D9973: ktooltipwidget: Fix tooltip positioning

Michael Heidelbach noreply at phabricator.kde.org
Sat Jan 20 07:05:09 GMT 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: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180120/84e3cfe9/attachment.htm>


More information about the kfm-devel mailing list