style the GUI tree widget a bit

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-02-18 00:05:16 -06:00
parent 22de9ae6d6
commit 069aa27927
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 7 additions and 1 deletions

View File

@ -20,6 +20,12 @@ EditScreen Label {
content-align: center middle;
}
#config_tree {
border: heavy gray;
padding: 1;
margin: 1;
}
.hidden {
visibility: hidden;
}

View File

@ -141,7 +141,7 @@ class ConfigEditor(App):
"""Compose the UI."""
yield Header()
yield Footer()
yield Tree("Root")
yield Tree("Root", id='config_tree')
def on_mount(self) -> None:
"""Load the configuration object into the tree view."""