sidebar working
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user