summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-01-12 18:10:35 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-01-13 16:16:50 +0100
commitee409a536e7e1e4da28e235c4979a31cf40bb3c4 (patch)
treecb58665abddd08b8fcf760d3898369780109de83 /src/widgets
parentb88f692d7dde8b15b75a5194c3b2d97bd947787b (diff)
macOS: Add more padding to width of non-editable comboboxes
The width of the combobox took the space for the checkmark and the contents into account, but didn't provide any padding on the right side, resulting in the text hitting the right side of the combobox popup. Add another 12 pixels padding to the sizeFromContents implementation, which results in a symmetrical padding on both sides of the text. Fixes: QTBUG-88715 Pick-to: 6.0 5.15 Change-Id: I811da73d11ce935c1fb83efabbe799f9a882e1d7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions