summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-01 09:42:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-01 09:44:54 +0100
commit1558ee84dce09770ff80ad9984e84d6500b79bf5 (patch)
tree21b33afdd2fb6cd8c4464f3f0f4ffcf8bc023b95 /vcl
parentadd saxon to tail_build (diff)
downloadcore-1558ee84dce09770ff80ad9984e84d6500b79bf5.tar.gz
core-1558ee84dce09770ff80ad9984e84d6500b79bf5.zip
menus are way too wide, wrong checkbox/radiobutton width
Change-Id: Ib8f1a21f19812092e2561621909f74fd98af2857
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx4
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();
}
}
}