DateWidget: keep "dash space" size

This commit is contained in:
hius07
2021-09-13 19:39:52 +03:00
committed by Frans de Jonge
parent 054d94a560
commit 28c132a740

View File

@@ -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",