[Libreoffice-commits] .: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 5 08:57:12 PST 2012


 vcl/source/control/button.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e25f17abf519dffce44d474f45b145ced555dc3e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 5 16:56:31 2012 +0000

    be a little more generous with spacing around images in buttons
    
    Change-Id: I14c2b43a97e061759bf7ea48c18a3400556d45da

diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 63233c2..85c7b3f 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1700,8 +1700,8 @@ Size PushButton::CalcMinimumSize( long nMaxWidth ) const
     // cf. ImplDrawPushButton ...
     if( (GetStyle() & WB_SMALLSTYLE) == 0 )
     {
-        aSize.Width() += 8;
-        aSize.Height() += 8;
+        aSize.Width() += 12;
+        aSize.Height() += 12;
     }
 
     return CalcWindowSize( aSize );


More information about the Libreoffice-commits mailing list