summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-01-12 18:10:35 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-13 17:28:50 +0000
commit59785478c3912551da9308942eccef8f0987dd1c (patch)
tree826bd2fd5f4b667358ede8d78a0ed6696f15c393 /cmake
parentc688bcb2f60274bf4e746d5b434ed637d59fe31a (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 Change-Id: I811da73d11ce935c1fb83efabbe799f9a882e1d7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit ee409a536e7e1e4da28e235c4979a31cf40bb3c4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions