mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-31 01:24:31 +02:00
Expand cpu chart size
This commit is contained in:
parent
2c138378fc
commit
11a6d25d4a
@ -147,9 +147,9 @@ pub fn draw_data<B: backend::Backend>(terminal: &mut Terminal<B>, app_state: &mu
|
|||||||
.margin(0)
|
.margin(0)
|
||||||
.constraints(
|
.constraints(
|
||||||
if app_state.left_legend {
|
if app_state.left_legend {
|
||||||
[Constraint::Percentage(10), Constraint::Percentage(90)]
|
[Constraint::Percentage(15), Constraint::Percentage(85)]
|
||||||
} else {
|
} else {
|
||||||
[Constraint::Percentage(90), Constraint::Percentage(10)]
|
[Constraint::Percentage(85), Constraint::Percentage(15)]
|
||||||
}
|
}
|
||||||
.as_ref(),
|
.as_ref(),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user