Skip to content

Commit

Permalink
help state: add some margin
Browse files Browse the repository at this point in the history
Those days "add some margin" is the rule for prettier gui.
  • Loading branch information
Canop committed Nov 4, 2019
1 parent 803a8d2 commit 1c89030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/help_states.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl HelpState {
}

fn resize_area(&mut self, screen: &Screen) {
let mut area = Area::new(0, 0, screen.width, screen.height - 2);
let mut area = Area::new(0, 1, screen.width, screen.height - 4);
area.pad_for_max_width(110);
self.view.resize(&area);
}
Expand Down

0 comments on commit 1c89030

Please # to comment.