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

New commits:
commit e25f17abf519dffce44d474f45b145ced555dc3e
Author: Caolán McNamara <caol...@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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to