1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-11-14 10:49:20 +01:00

fix: updated usage for ratatui

This commit is contained in:
əlemi 2024-02-09 20:19:35 +01:00
parent 92a480cebc
commit 635db69aa8
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -221,10 +221,8 @@ fn make_header<'a>(cfg: &GraphConfig, module_header: &'a str, kind_o_scope: &'st
Cell::from(if pause { "||" } else { "|>" }),
]
)
]
)
.style(Style::default().fg(cfg.labels_color))
.widths(&[
],
vec![
Constraint::Percentage(35),
Constraint::Percentage(25),
Constraint::Percentage(7),
@ -232,5 +230,7 @@ fn make_header<'a>(cfg: &GraphConfig, module_header: &'a str, kind_o_scope: &'st
Constraint::Percentage(6),
Constraint::Percentage(6),
Constraint::Percentage(6)
])
]
)
.style(Style::default().fg(cfg.labels_color))
}