Use config variable for panel width

This commit is contained in:
Candifloss 2026-09-03 16:36:03 +05:30
parent 9e6a9880e5
commit ae5f50068e
3 changed files with 4 additions and 3 deletions

View File

@ -11,5 +11,5 @@
background-color: rgba(72, 150, 98, 0.733);
padding: 0 0.2em;
font-size: 14px;
font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF";
font-family: "Fragment Mono";
}

View File

@ -7,6 +7,7 @@ component EwwiiPanel () {
class = "ewwii_panel"
height = config.panel_height
width = config.panel_width
space_evenly = false
DateTimeWidg "paneldatewidg" {
widgname = "paneldatewidg"

View File

@ -9,8 +9,8 @@ Window "ewwii_panel" {
anchor = "top center"
x = "0px"
y = "0px"
height = config.panel_height.to_string() +"px"
width = "100%"
height = config.panel_height.to_string() + "px"
width = config.panel_width.to_string() + "px"
}
reserve = {
distance = config.panel_height.to_string() +"px"