Skip to content

Commit

Permalink
Fix help table
Browse files Browse the repository at this point in the history
The upgrade to `tui` seems to have changed the way constraints work
slightly.
  • Loading branch information
Rigellute committed Aug 24, 2021
1 parent 1ef37e7 commit cb70ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ where
.border_style(help_menu_style),
)
.style(help_menu_style)
.widths(&[Constraint::Max(110)]);
.widths(&[Constraint::Percentage(100)]);
f.render_widget(help_menu, chunks[0]);
}

Expand Down

0 comments on commit cb70ea1

Please sign in to comment.