vcl/source/window/menu.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1558ee84dce09770ff80ad9984e84d6500b79bf5 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Oct 1 09:42:40 2012 +0100 menus are way too wide, wrong checkbox/radiobutton width Change-Id: Ib8f1a21f19812092e2561621909f74fd98af2857 diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index c8f2e97..2920878 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(); } } }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits