[fix, UX] frontlightwidget: Reduce text for automatic warmth

Reduce text size because for larger fonts this would not fit into
widget's size (issue #3825).
pull/3841/head
David Engster 6 years ago committed by Frans de Jonge
parent cb0fadb80b
commit 33c8c36f7a

@ -387,7 +387,7 @@ function FrontLightWidget:addWarmthWidgets(num_warmth, step, vertical_group)
button_max,
}
local checkbutton_auto_nl = CheckButton:new({
text = _("Automatic warmth"),
text = _("Auto"),
checked = self.powerd.auto_warmth,
callback = function()
if self.powerd.auto_warmth then
@ -402,7 +402,7 @@ function FrontLightWidget:addWarmthWidgets(num_warmth, step, vertical_group)
local text_auto_nl = TextBoxWidget:new{
-- @TODO implement padding_right (etc.) on TextBoxWidget and remove the two-space hack
text = _("Maximum at:") .. " ",
text = _("Max. at:") .. " ",
face = self.larger_font_face,
alignment = "right",
fgcolor = self.powerd.auto_warmth and Blitbuffer.COLOR_BLACK or

Loading…
Cancel
Save