Display structure owner and adjust UI layouts

Add owner line to structure text, using gray label and owner span.
Switch side panel layout to Fill/Length and remove left border from side
panel widget.
Import Stylize for colored text rendering.
This commit is contained in:
2026-05-05 13:34:07 +02:00
parent 55a260755c
commit b1183175be
3 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ impl<'a> SidePanelWidget<'a> {
fn get_inner_block<'b>(&self, title: String, color: Color) -> Block<'b> {
Block::default()
.borders(Borders::LEFT | Borders::TOP)
.borders(Borders::TOP)
.title(block_single_title_helper(title, color))
.title_alignment(Alignment::Center)
.padding(Padding::symmetric(1, 1))