Kaydet (Commit) 628cec2a authored tarafından Ivan Timofeev's avatar Ivan Timofeev

fdo#47752: use native checkbox width

Change-Id: Iac8049c49520a5fd119c4617144af302f924475b
üst 5e01d13b
...@@ -459,6 +459,8 @@ void SvLBoxButton::ImplAdjustBoxSize( Size& io_rSize, ControlType i_eType, Windo ...@@ -459,6 +459,8 @@ void SvLBoxButton::ImplAdjustBoxSize( Size& io_rSize, ControlType i_eType, Windo
// leave a little space around the box image (looks better) // leave a little space around the box image (looks better)
if( aContentSize.Height() + 2 > io_rSize.Height() ) if( aContentSize.Height() + 2 > io_rSize.Height() )
io_rSize.Height() = aContentSize.Height() + 2; io_rSize.Height() = aContentSize.Height() + 2;
if( aContentSize.Width() + 2 > io_rSize.Width() )
io_rSize.Width() = aContentSize.Width() + 2;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment