diff --git a/widget/Theme.cpp b/widget/Theme.cpp index 29aa0252d14f..2346874cd1b9 100644 --- a/widget/Theme.cpp +++ b/widget/Theme.cpp @@ -722,7 +722,8 @@ void Theme::PaintRadioControl(PaintBackendData& aPaintData, } if (aState.HasState(ElementState::FOCUSRING)) { - PaintRoundedFocusRect(aPaintData, aRect, aColors, aDpiRatio, 5.0f, 1.0f); + auto radius = LayoutDeviceCoord(aRect.Size().width) / aDpiRatio; + PaintRoundedFocusRect(aPaintData, aRect, aColors, aDpiRatio, radius, 1.0f); } }