summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2020-11-17 15:42:55 +0100
committerDoris Verria <doris.verria@qt.io>2020-12-21 12:33:15 +0100
commitc6379e34993370e7e2208b51be384b738ce35817 (patch)
treef9aad229ae6827d9ab3c4afe5230ec5bf6286fae /CMakeLists.txt
parentb770b7517d30dd17d1096a0bb434677a2b3ff630 (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 Pick-to: 5.15 6.0 Change-Id: Iee885a4fb3674d966e5ff3b5c04a0845521b2d72 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions