Use config variable for panel width
This commit is contained in:
parent
9e6a9880e5
commit
ae5f50068e
@ -11,5 +11,5 @@
|
|||||||
background-color: rgba(72, 150, 98, 0.733);
|
background-color: rgba(72, 150, 98, 0.733);
|
||||||
padding: 0 0.2em;
|
padding: 0 0.2em;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF";
|
font-family: "Fragment Mono";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,7 @@ component EwwiiPanel () {
|
|||||||
class = "ewwii_panel"
|
class = "ewwii_panel"
|
||||||
height = config.panel_height
|
height = config.panel_height
|
||||||
width = config.panel_width
|
width = config.panel_width
|
||||||
|
space_evenly = false
|
||||||
|
|
||||||
DateTimeWidg "paneldatewidg" {
|
DateTimeWidg "paneldatewidg" {
|
||||||
widgname = "paneldatewidg"
|
widgname = "paneldatewidg"
|
||||||
|
|||||||
@ -10,7 +10,7 @@ Window "ewwii_panel" {
|
|||||||
x = "0px"
|
x = "0px"
|
||||||
y = "0px"
|
y = "0px"
|
||||||
height = config.panel_height.to_string() + "px"
|
height = config.panel_height.to_string() + "px"
|
||||||
width = "100%"
|
width = config.panel_width.to_string() + "px"
|
||||||
}
|
}
|
||||||
reserve = {
|
reserve = {
|
||||||
distance = config.panel_height.to_string() +"px"
|
distance = config.panel_height.to_string() +"px"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user