diff options
-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; } } } |