Skip to content

Commit

Permalink
console: set task poll percentile constraint to exactly 24 (console-r…
Browse files Browse the repository at this point in the history
…s#65)

With it only having a "max" of 24, if the chart needed to take up more
space, it would use up all of it and the percentile window would be
gone.
  • Loading branch information
seanmonstar authored Jul 13, 2021
1 parent 35d675f commit fb08d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/src/view/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl TaskView {
.constraints(
[
// 24 chars is long enough for the title "Poll Times Percentiles"
layout::Constraint::Max(24),
layout::Constraint::Length(24),
layout::Constraint::Min(50),
]
.as_ref(),
Expand Down

0 comments on commit fb08d02

Please sign in to comment.