summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qmacstyle_mac.mm
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-07-07 12:53:09 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-07-07 12:54:01 (GMT)
commit459dc4a3bf0dc0ac54fc558379fdf551949dd1c6 (patch)
tree433f817cd55876be6b27adc9617dd2315694eb51 /src/gui/styles/qmacstyle_mac.mm
parentbd476c6e4b238290a92cfd4693c709e9010b282b (diff)
downloadQt-459dc4a3bf0dc0ac54fc558379fdf551949dd1c6.zip
Qt-459dc4a3bf0dc0ac54fc558379fdf551949dd1c6.tar.gz
Qt-459dc4a3bf0dc0ac54fc558379fdf551949dd1c6.tar.bz2
Fix editable combobox style on Mac
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/gui/styles/qmacstyle_mac.mm')
-rw-r--r--src/gui/styles/qmacstyle_mac.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm
index 40c28f6..74e3440 100644
--- a/src/gui/styles/qmacstyle_mac.mm
+++ b/src/gui/styles/qmacstyle_mac.mm
@@ -1195,15 +1195,15 @@ QRect QMacStylePrivate::comboboxEditBounds(const QRect &outerBounds, const HIThe
QRect ret = outerBounds;
switch (bdi.kind){
case kThemeComboBox:
- ret.adjust(5, 8, -21, -4);
+ ret.adjust(5, 8, -22, -4);
break;
case kThemeComboBoxSmall:
- ret.adjust(4, 5, -18, 0);
- ret.setHeight(16);
+ ret.adjust(4, 6, -20, 0);
+ ret.setHeight(14);
break;
case kThemeComboBoxMini:
- ret.adjust(4, 5, -16, 0);
- ret.setHeight(13);
+ ret.adjust(4, 5, -18, -1);
+ ret.setHeight(12);
break;
case kThemePopupButton:
ret.adjust(10, 3, -23, -3);