summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-05 16:56:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-05 16:56:53 +0000
commite25f17abf519dffce44d474f45b145ced555dc3e (patch)
tree0666c1c5a377f802181e280729a73ff4bd9d309d /vcl
parent0849f7317907d899157f506b235f445b449bcbd6 (diff)
be a little more generous with spacing around images in buttons
Change-Id: I14c2b43a97e061759bf7ea48c18a3400556d45da
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 63233c266c6a..85c7b3fcee92 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 );