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:
parent
92a480cebc
commit
635db69aa8
1 changed files with 9 additions and 9 deletions
10
src/app.rs
10
src/app.rs
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue