mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix, UX] frontlightwidget: More space for text and centering
Otherwise clock display will have a line break for low DPI (see issue
This commit is contained in:
committed by
Frans de Jonge
parent
7c527aa5dd
commit
7a28c7d7aa
@@ -413,9 +413,10 @@ function FrontLightWidget:addWarmthWidgets(num_warmth, step, vertical_group)
|
||||
text = " " .. math.floor(self.powerd.max_warmth_hour) .. ":" ..
|
||||
self.powerd.max_warmth_hour % 1 * 6 .. "0",
|
||||
face = self.larger_font_face,
|
||||
alignment = "center",
|
||||
fgcolor =self.powerd.auto_warmth and Blitbuffer.COLOR_BLACK or
|
||||
Blitbuffer.COLOR_GREY,
|
||||
width = self.screen_width * 0.1
|
||||
width = self.screen_width * 0.15
|
||||
}
|
||||
local button_minus_one_hour = Button:new{
|
||||
text = "−",
|
||||
|
||||
Reference in New Issue
Block a user