2
0
Fork 0
mirror of https://github.com/ClementTsang/bottom synced 2025-02-15 12:48:28 +00:00

Expand cpu chart size

This commit is contained in:
ClementTsang 2020-01-01 17:56:28 -05:00
parent 2c138378fc
commit 11a6d25d4a

View file

@ -147,9 +147,9 @@ pub fn draw_data<B: backend::Backend>(terminal: &mut Terminal<B>, app_state: &mu
.margin(0)
.constraints(
if app_state.left_legend {
[Constraint::Percentage(10), Constraint::Percentage(90)]
[Constraint::Percentage(15), Constraint::Percentage(85)]
} else {
[Constraint::Percentage(90), Constraint::Percentage(10)]
[Constraint::Percentage(85), Constraint::Percentage(15)]
}
.as_ref(),
)