Kaydet (Commit) a62a80ac authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky Kaydeden (comit) Jan-Marek Glogowski

fdo#72521 fdo#73103 Fix editable combo-boxes behavior under KDE4

Change-Id: I92a781a1e0f0adcb779155f8c477595e0dd762b1
Reviewed-on: https://gerrit.libreoffice.org/7287Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
Tested-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
üst 85ecb74a
...@@ -779,7 +779,11 @@ sal_Bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart p ...@@ -779,7 +779,11 @@ sal_Bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart p
break; break;
} }
case PART_BUTTON_DOWN: case PART_BUTTON_DOWN:
//the entire control can be used as the "down" button contentRect = kapp->style()->subControlRect(
QStyle::CC_ComboBox, &cbo, QStyle::SC_ComboBoxArrow );
contentRect.translate( boundingRect.left(), boundingRect.top() );
retVal = true; retVal = true;
break; break;
case PART_SUB_EDIT: case PART_SUB_EDIT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment