diff --git a/cbd-tui/src/app/mod.rs b/cbd-tui/src/app/mod.rs index 76239a1..4bee8d5 100644 --- a/cbd-tui/src/app/mod.rs +++ b/cbd-tui/src/app/mod.rs @@ -600,9 +600,13 @@ impl App { self.library.render(f, main[0], library_focused); + // `Min(10)`, not `Max(10)`: a capped last segment leaves the + // remaining rows unfilled (a gap under the now-playing pane), + // whereas `Min` lets it grow to the bottom — so the spectrum + // fills all the space left below the queue. let right_side = Layout::default() .direction(Direction::Vertical) - .constraints([Constraint::Percentage(70), Constraint::Max(10)].as_ref()) + .constraints([Constraint::Percentage(70), Constraint::Min(10)].as_ref()) .split(main[1]); self.queue.render(f, right_side[0], queue_focused);