summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-11-12 18:49:50 +0100
committerJan Holesovsky <kendy@collabora.com>2014-11-12 18:49:50 +0100
commit0a2d7345f756b49440ab7845ac0a1e991f2a014e (patch)
tree2df232cb916d5890e23c3eec255640c29e4a7b5e
parentf7efd54ba5ecfe165143e4951cb3e349acc2e364 (diff)
windows: Default to large icons, as we do on all other operating systems.
Change-Id: Ifbb7287b5c28de7e23f95b89574ba4196fbb58ac
-rw-r--r--vcl/win/source/window/salframe.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 3d3b242b87b3..dade3613a536 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -2777,13 +2777,9 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
ImplSalUpdateStyleFontW( hDC, aLogFont, aIconFont );
}
- // get screen font resolution to calculate toolbox item size
- long nDPIY = GetDeviceCaps( hDC, LOGPIXELSY );
-
ReleaseDC( 0, hDC );
- long nHeightPx = aMenuFont.GetHeight() * nDPIY / 72;
- aStyleSettings.SetToolbarIconSize( (((nHeightPx-1)*2) >= 28) ? STYLE_TOOLBAR_ICONSIZE_LARGE : STYLE_TOOLBAR_ICONSIZE_SMALL );
+ aStyleSettings.SetToolbarIconSize(STYLE_TOOLBAR_ICONSIZE_LARGE);
aStyleSettings.SetMenuFont( aMenuFont );
aStyleSettings.SetTitleFont( aTitleFont );