diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-01 09:42:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-01 09:44:54 +0100 |
commit | 1558ee84dce09770ff80ad9984e84d6500b79bf5 (patch) | |
tree | 21b33afdd2fb6cd8c4464f3f0f4ffcf8bc023b95 /vcl/source | |
parent | 9516c661e86f99cb625e13fe6e040ae74d66a3dd (diff) |
menus are way too wide, wrong checkbox/radiobutton width
Change-Id: Ib8f1a21f19812092e2561621909f74fd98af2857
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/menu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index c8f2e9718d51..2920878724bc 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2254,7 +2254,7 @@ Size Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, lon ) { rCheckHeight = aNativeBounds.GetHeight(); - nCheckWidth = aNativeBounds.GetWidth(); + nCheckWidth = aNativeContent.GetWidth(); } } if( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, PART_MENU_ITEM_RADIO_MARK ) ) @@ -2270,7 +2270,7 @@ Size Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, lon ) { rRadioHeight = aNativeBounds.GetHeight(); - nRadioWidth = aNativeBounds.GetWidth(); + nRadioWidth = aNativeContent.GetWidth(); } } } |