diff --git a/frontend/ui/widget/radiomark.lua b/frontend/ui/widget/radiomark.lua index 16882f438..e99d4179c 100644 --- a/frontend/ui/widget/radiomark.lua +++ b/frontend/ui/widget/radiomark.lua @@ -11,6 +11,9 @@ local RadioMark = InputContainer:new{ face = Font:getFace("smallinfofont"), baseline = 0, _mirroredUI = BD.mirroredUILayout(), + -- round radio mark looks a little bit higher than the button/menu text + -- default vertical down shift ratio (to the text height) looks good in touchmenu + v_shift_ratio = 0.03, } function RadioMark:init() @@ -21,6 +24,7 @@ function RadioMark:init() para_direction_rtl = self._mirroredUI, } self.baseline = widget:getBaseline() + widget.forced_baseline = self.baseline + math.floor(widget:getSize().h * self.v_shift_ratio) self[1] = widget self.dimen = widget:getSize() end