mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
DateWidget: keep "dash space" size
This commit is contained in:
@@ -89,7 +89,7 @@ function DateWidget:update()
|
||||
alignment = "center",
|
||||
face = self.title_face,
|
||||
bold = true,
|
||||
width = math.floor(self.screen_width * 0.02),
|
||||
width = math.floor(math.min(self.screen_width, self.screen_height) * 0.02),
|
||||
}
|
||||
local date_group = HorizontalGroup:new{
|
||||
align = "center",
|
||||
|
||||
Reference in New Issue
Block a user