Skip to content

Commit

Permalink
add vert margin for inspection section
Browse files Browse the repository at this point in the history
  • Loading branch information
pythops committed Oct 5, 2024
1 parent dd85463 commit 8faecd7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions oryx-tui/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,13 @@ impl App {
let (settings_block, section_block) = {
let chunks = Layout::default()
.direction(Direction::Vertical)
.constraints([Constraint::Length(6), Constraint::Fill(1)])
.constraints([
Constraint::Length(6),
Constraint::Length(1),
Constraint::Fill(1),
])
.split(frame.area());
(chunks[0], chunks[1])
(chunks[0], chunks[2])
};

self.section.render(
Expand Down

0 comments on commit 8faecd7

Please sign in to comment.