diff options
-rw-r--r-- | vcl/source/control/button.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index a67ebb3ffe03..d39a9f72de1b 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -1938,6 +1938,11 @@ void RadioButton::ImplDrawRadioButtonState(vcl::RenderContext& rRenderContext) aImageSize.Width() = CalcZoom(aImageSize.Width()); aImageSize.Height() = CalcZoom(aImageSize.Height()); + aImageRect.Left()++; + aImageRect.Top()++; + aImageRect.Right()--; + aImageRect.Bottom()--; + // display border and selection status aImageRect = aDecoView.DrawFrame(aImageRect, DrawFrameStyle::DoubleIn); if ((ImplGetButtonState() & DrawButtonFlags::Pressed) || !bEnabled) |