rearrange power slightly, section for limits
This commit is contained in:
parent
7e41c0fe3d
commit
0e4066110e
2 changed files with 5 additions and 3 deletions
|
@ -276,13 +276,15 @@ class PowerDisplay(Static):
|
||||||
Label("", classes="statvalue"))
|
Label("", classes="statvalue"))
|
||||||
yield Horizontal(Label(" Usage:",),
|
yield Horizontal(Label(" Usage:",),
|
||||||
Label("", id="pwr_avg_val", classes="statvalue"))
|
Label("", id="pwr_avg_val", classes="statvalue"))
|
||||||
yield Horizontal(Label(" [bold]Set[/] limit:",),
|
yield Horizontal(Label(""), Label("", classes="statvalue")) # padding to split groups
|
||||||
|
yield Horizontal(Label("[underline]Limits"),
|
||||||
|
Label("", classes="statvalue"))
|
||||||
|
yield Horizontal(Label(" Configured:",),
|
||||||
Label("", id="pwr_lim_val", classes="statvalue"))
|
Label("", id="pwr_lim_val", classes="statvalue"))
|
||||||
yield Horizontal(Label(" [bold]Default[/] limit:",),
|
yield Horizontal(Label(" Default:",),
|
||||||
Label("", id="pwr_def_val", classes="statvalue"))
|
Label("", id="pwr_def_val", classes="statvalue"))
|
||||||
yield Horizontal(Label(" Board capability:",),
|
yield Horizontal(Label(" Board capability:",),
|
||||||
Label("", id="pwr_cap_val", classes="statvalue"))
|
Label("", id="pwr_cap_val", classes="statvalue"))
|
||||||
yield Horizontal(Label(""), Label("", classes="statvalue")) # bottom padding to group
|
|
||||||
|
|
||||||
def on_mount(self) -> None:
|
def on_mount(self) -> None:
|
||||||
"""Event handler called when widget is added to the app."""
|
"""Event handler called when widget is added to the app."""
|
||||||
|
|
BIN
screens/main.png
BIN
screens/main.png
Binary file not shown.
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 44 KiB |
Reference in a new issue