diff options
-rw-r--r-- | vcl/source/window/menu.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index c2de81b8b085..8d3e3f4b4bd4 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2412,7 +2412,8 @@ Size Menu::ImplCalcSize( const Window* pWin ) const StyleSettings& rSettings = pWin->GetSettings().GetStyleSettings(); if ( rSettings.GetUseImagesInMenus() ) { - nMinMenuItemHeight = 16; + if ( 16 > nMinMenuItemHeight ) + nMinMenuItemHeight = 16; for ( size_t i = pItemList->size(); i; ) { MenuItemData* pData = pItemList->GetDataFromPos( --i ); |