From d7ce1f114f59b9b25703a874dc47f9a7f9fa78cb Mon Sep 17 00:00:00 2001 From: jess Date: Fri, 15 May 2026 23:54:06 -0700 Subject: [PATCH] fix issue with plot buttons running out of usable display space --- crates/femm-app/src/main.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/crates/femm-app/src/main.rs b/crates/femm-app/src/main.rs index 4a1471c..a85fd12 100644 --- a/crates/femm-app/src/main.rs +++ b/crates/femm-app/src/main.rs @@ -1645,12 +1645,18 @@ impl App { plot::view::(p, samples, sim.frame_idx, sim.buffer_size.max(1)); let pane = column![mode_row, plot_canvas] .spacing(2) - .width(Length::FillPortion(1)) + .width(Length::Fixed(420.0)) .height(Length::Fill); pane_row = pane_row.push(pane); } + let scroll = scrollable(pane_row) + .direction(iced::widget::scrollable::Direction::Horizontal( + iced::widget::scrollable::Scrollbar::default() + )) + .width(Length::Fill) + .height(Length::Fill); body = body.push( - container(pane_row) + container(scroll) .width(Length::Fill) .height(Length::FillPortion(1)) .padding(4)