diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-30 21:43:50 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-30 22:25:48 +0400 |
commit | 628cec2afa41fa0cedc08bb5084e7b48e0d47918 (patch) | |
tree | 168e4520b43653de6196cd957c4bb5e14cbd1f9c /svtools | |
parent | 5e01d13b84c1dbd82da54be3f25b522f825febfe (diff) |
fdo#47752: use native checkbox width
Change-Id: Iac8049c49520a5fd119c4617144af302f924475b
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/svlbitm.cxx | 2 |
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; } } } |