Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rewrite column algorithm #227

Merged
merged 12 commits into from
Sep 10, 2020
Prev Previous commit
Extend command size a bit
  • Loading branch information
ClementTsang committed Sep 10, 2020
commit 1b5d7d05875f3337e7ff76b35fd7843ddc56478c
4 changes: 2 additions & 2 deletions src/canvas/widgets/process_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ impl ProcessTableWidget for Painter {

let soft_widths_max = if proc_widget_state.is_grouped {
if proc_widget_state.is_using_command {
vec![None, Some(0.6), None, None, None, None, None, None]
vec![None, Some(0.7), None, None, None, None, None, None]
} else if proc_widget_state.is_tree_mode {
vec![None, Some(0.5), None, None, None, None, None, None]
} else {
Expand All @@ -304,7 +304,7 @@ impl ProcessTableWidget for Painter {
} else if proc_widget_state.is_using_command {
vec![
None,
Some(0.6),
Some(0.7),
None,
None,
None,
Expand Down