]> git.lyx.org Git - features.git/commit
Avoid extra space in tooltips
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 4 Nov 2018 23:53:36 +0000 (13:53 -1000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 21 Nov 2018 13:47:04 +0000 (14:47 +0100)
commitc1df5fb6efab2f8744a4052638f5e24fe88a7014
tree0155097fda05fe42660c3743826618e51a367d8c
parente5f7f6493a300e85eae32b0c09ac96dd97b521f7
Avoid extra space in tooltips

When using QTextDocument to check the natutal size of a text, one has
to remove the text margin, which is not useful here.

Fixes bug #11353.

(cherry picked from commit 7db99672e6838535d837096ab2344e7ecedb47e3)
src/frontends/qt4/qt_helpers.cpp
status.23x