Skip to content

Commit fb08d02

Browse files
authored
console: set task poll percentile constraint to exactly 24 (console-rs#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.
1 parent 35d675f commit fb08d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console/src/view/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl TaskView {
8181
.constraints(
8282
[
8383
// 24 chars is long enough for the title "Poll Times Percentiles"
84-
layout::Constraint::Max(24),
84+
layout::Constraint::Length(24),
8585
layout::Constraint::Min(50),
8686
]
8787
.as_ref(),

0 commit comments

Comments
 (0)