mirror of
https://github.com/alemidev/scope-tui.git
synced 2024-11-14 02:39:20 +01:00
fix: updated usage for ratatui
This commit is contained in:
parent
92a480cebc
commit
635db69aa8
1 changed files with 9 additions and 9 deletions
18
src/app.rs
18
src/app.rs
|
@ -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)
|
||||
])
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue