summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2020-11-17 15:42:55 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-12-21 15:38:07 +0000
commit701934d39f50892273b733b55040b550568ca635 (patch)
treeac2f9212a6adfef51e555985fb9d9937cb6edded /CMakeLists.txt
parent3f2b9af98e028bf665a78177cc2d3dc41ab1e696 (diff)
Make QPushButton on macOS use QFocusFrame to fix alignment problems
Alignment problems occur for pushbuttons because they appear smaller then their actual widget geometry, which is used for their alignment in layouts. To fix, shift the pushbutton's rect to the left, adjust SE_PushButtonLayoutItem accordingly and use QFocusFrame to render the focus frame ring outside the widget's paintable area. Fixes: QTBUG-89133 Fixes: QTBUG-81452 Change-Id: Iee885a4fb3674d966e5ff3b5c04a0845521b2d72 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit c6379e34993370e7e2208b51be384b738ce35817) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions