summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-05-30 21:43:50 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-05-30 22:25:48 +0400
commit628cec2afa41fa0cedc08bb5084e7b48e0d47918 (patch)
tree168e4520b43653de6196cd957c4bb5e14cbd1f9c /svtools
parent5e01d13b84c1dbd82da54be3f25b522f825febfe (diff)
fdo#47752: use native checkbox width
Change-Id: Iac8049c49520a5fd119c4617144af302f924475b
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/svlbitm.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx
index ba1ee4b93ce0..00c619ea9f41 100644
--- a/svtools/source/contnr/svlbitm.cxx
+++ b/svtools/source/contnr/svlbitm.cxx
@@ -459,6 +459,8 @@ void SvLBoxButton::ImplAdjustBoxSize( Size& io_rSize, ControlType i_eType, Windo
// leave a little space around the box image (looks better)
if( aContentSize.Height() + 2 > io_rSize.Height() )
io_rSize.Height() = aContentSize.Height() + 2;
+ if( aContentSize.Width() + 2 > io_rSize.Width() )
+ io_rSize.Width() = aContentSize.Width() + 2;
}
}
}