wip: header+column widths
This commit is contained in:
+5
-3
@@ -154,10 +154,11 @@ fn ui<B: Backend>(
|
||||
let has_containers = !app_data.lock().containers.items.is_empty();
|
||||
let has_error = app_data.lock().get_error();
|
||||
let log_index = app_data.lock().get_selected_log_index();
|
||||
let sorted_by = app_data.lock().get_sorted();
|
||||
|
||||
let show_help = gui_state.lock().show_help;
|
||||
let info_text = gui_state.lock().info_box_text.clone();
|
||||
let loading_icon = gui_state.lock().get_loading();
|
||||
let sorted_by = app_data.lock().get_sorted();
|
||||
|
||||
let whole_layout = Layout::default()
|
||||
.direction(Direction::Vertical)
|
||||
@@ -214,8 +215,9 @@ fn ui<B: Backend>(
|
||||
f,
|
||||
has_containers,
|
||||
loading_icon,
|
||||
show_help,
|
||||
sorted_by,
|
||||
sorted_by,
|
||||
gui_state,
|
||||
|
||||
);
|
||||
|
||||
// only draw charts if there are containers
|
||||
|
||||
Reference in New Issue
Block a user