DateWidget: keep "dash space" size

This commit is contained in:
hius07 authored and Frans de Jonge committed 2021-09-13 19:32:19 +02:00
1 parent 054d94a560
commit 28c132a740
1 file changed
+1 -1
+1 -1
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",