Skip to content

Commit

Permalink
update help block dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
pythops committed Jan 25, 2024
1 parent 5a5ec5d commit 3db7d93
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ pub fn help_rect(r: Rect) -> Rect {
.direction(Direction::Vertical)
.constraints(
[
Constraint::Percentage(22),
Constraint::Length(18),
Constraint::Percentage(20),
Constraint::Percentage(35),
Constraint::Min(10),
Constraint::Percentage(35),
]
.as_ref(),
)
Expand All @@ -51,9 +51,9 @@ pub fn help_rect(r: Rect) -> Rect {
.direction(Direction::Horizontal)
.constraints(
[
Constraint::Length((r.width - 85) / 2),
Constraint::Length(85),
Constraint::Length((r.width - 85) / 2),
Constraint::Length((r.width - 80) / 2),
Constraint::Min(80),
Constraint::Length((r.width - 80) / 2),
]
.as_ref(),
)
Expand Down

0 comments on commit 3db7d93

Please sign in to comment.