mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-24 22:24:53 +02:00
Tweaked the chart ratios
This commit is contained in:
parent
c415dfd88c
commit
f32035b8d5
@ -277,8 +277,8 @@ pub fn draw_data<B: backend::Backend>(
|
|||||||
.margin(1)
|
.margin(1)
|
||||||
.constraints(
|
.constraints(
|
||||||
[
|
[
|
||||||
Constraint::Percentage(33),
|
Constraint::Percentage(30),
|
||||||
Constraint::Percentage(34),
|
Constraint::Percentage(36),
|
||||||
Constraint::Percentage(34),
|
Constraint::Percentage(34),
|
||||||
]
|
]
|
||||||
.as_ref(),
|
.as_ref(),
|
||||||
@ -971,7 +971,8 @@ fn draw_processes_table<B: backend::Backend>(
|
|||||||
app_state.currently_selected_process_position,
|
app_state.currently_selected_process_position,
|
||||||
);
|
);
|
||||||
|
|
||||||
let sliced_vec: Vec<ConvertedProcessHarvest> = (&process_data[start_position as usize..]).to_vec();
|
let sliced_vec: Vec<ConvertedProcessHarvest> =
|
||||||
|
(&process_data[start_position as usize..]).to_vec();
|
||||||
let mut process_counter = 0;
|
let mut process_counter = 0;
|
||||||
|
|
||||||
// Draw!
|
// Draw!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user