1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-11-23 14:14:48 +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,16 +221,16 @@ fn make_header<'a>(cfg: &GraphConfig, module_header: &'a str, kind_o_scope: &'st
Cell::from(if pause { "||" } else { "|>" }),
]
)
],
vec![
Constraint::Percentage(35),
Constraint::Percentage(25),
Constraint::Percentage(7),
Constraint::Percentage(13),
Constraint::Percentage(6),
Constraint::Percentage(6),
Constraint::Percentage(6)
]
)
.style(Style::default().fg(cfg.labels_color))
.widths(&[
Constraint::Percentage(35),
Constraint::Percentage(25),
Constraint::Percentage(7),
Constraint::Percentage(13),
Constraint::Percentage(6),
Constraint::Percentage(6),
Constraint::Percentage(6)
])
}