Kaydet (Commit) 1558ee84 authored tarafından Caolán McNamara's avatar Caolán McNamara

menus are way too wide, wrong checkbox/radiobutton width

Change-Id: Ib8f1a21f19812092e2561621909f74fd98af2857
üst 9516c661
...@@ -2254,7 +2254,7 @@ Size Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, lon ...@@ -2254,7 +2254,7 @@ Size Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, lon
) )
{ {
rCheckHeight = aNativeBounds.GetHeight(); rCheckHeight = aNativeBounds.GetHeight();
nCheckWidth = aNativeBounds.GetWidth(); nCheckWidth = aNativeContent.GetWidth();
} }
} }
if( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, PART_MENU_ITEM_RADIO_MARK ) ) if( pWin->IsNativeControlSupported( CTRL_MENU_POPUP, PART_MENU_ITEM_RADIO_MARK ) )
...@@ -2270,7 +2270,7 @@ Size Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, lon ...@@ -2270,7 +2270,7 @@ Size Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, lon
) )
{ {
rRadioHeight = aNativeBounds.GetHeight(); rRadioHeight = aNativeBounds.GetHeight();
nRadioWidth = aNativeBounds.GetWidth(); nRadioWidth = aNativeContent.GetWidth();
} }
} }
} }
......
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