[Libreoffice-commits] core.git: vcl/aqua

Jan Holesovsky kendy at collabora.com
Wed Nov 13 00:42:22 PST 2013


 vcl/aqua/source/window/salframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f4bda9b6ab58e9d97665ef02d5ffd896a88dca3a
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Nov 13 09:39:53 2013 +0100

    fdo#68174: Default to large icons on OSX too, regardless of the DPI.
    
    Change-Id: Id7a8ebe6642e032e370dce2832ccaa2350fdcba8

diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx
index 5508e44..8092e9f 100644
--- a/vcl/aqua/source/window/salframe.cxx
+++ b/vcl/aqua/source/window/salframe.cxx
@@ -1250,7 +1250,7 @@ void AquaSalFrame::UpdateSettings( AllSettings& rSettings )
     getResolution( nDPIX, nDPIY );
     aAppFont = getFont( [NSFont systemFontOfSize: 0], nDPIY, aAppFont );
 
-    aStyleSettings.SetToolbarIconSize( nDPIY > 160 ? STYLE_TOOLBAR_ICONSIZE_LARGE : STYLE_TOOLBAR_ICONSIZE_SMALL );
+    aStyleSettings.SetToolbarIconSize( STYLE_TOOLBAR_ICONSIZE_LARGE );
 
     // TODO: better mapping of aqua<->ooo font settings
     aStyleSettings.SetAppFont( aAppFont );


More information about the Libreoffice-commits mailing list