remove container so app is fullscreen

This commit is contained in:
Triston Armstrong 2024-05-12 16:43:36 -05:00
parent 25e5ea8f35
commit 55516dcb77
No known key found for this signature in database
GPG Key ID: FADE6AC6F956FC52

View File

@ -12,14 +12,6 @@ pub struct Ui {}
impl Ui {
pub fn build(&self, frame: &mut Frame, app: &mut App) {
let container = Layout::default()
.direction(Direction::Horizontal)
.constraints(vec![
Constraint::Min(0),
Constraint::Max(100),
Constraint::Min(0),
])
.split(frame.size());
// layout containing a top middle and bottom panel
let main_layout = Layout::default()
.direction(Direction::Vertical)
@ -29,7 +21,7 @@ impl Ui {
Constraint::Min(2), // dual panes + add new
Constraint::Length(2), // instructions
])
.split(container[1]);
.split(frame.size());
let todo_panes = Layout::default()
.direction(Direction::Horizontal)