DateWidget: keep "dash space" size
This commit is contained in:
1 parent
054d94a560
commit
28c132a740
1 file changed
+1
-1
@@ -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