sidebar working

This commit is contained in:
filipriec
2025-03-21 16:19:45 +01:00
parent ff5e0908ea
commit 30a31e8528
2 changed files with 3 additions and 5 deletions

View File

@@ -38,8 +38,8 @@ pub fn render_ui(
let chunks = Layout::default()
.direction(Direction::Horizontal)
.constraints([
Constraint::Min(10), // Sidebar minimum width
Constraint::Fill(1), // Remaining space for form/preview
Constraint::Length(16), // Fixed sidebar width
Constraint::Fill(1), // Remaining space for form/preview
])
.split(main_content_area);
(Some(chunks[0]), chunks[1])