From 7d122ddd6c7ffd04329c42e1723cd2483c228df9 Mon Sep 17 00:00:00 2001 From: Si Date: Thu, 24 Sep 2026 00:48:33 +0200 Subject: [PATCH] Keep the params' scrollbar clear of the spin buttons The overlay scrollbar sat over the "+" of each spin button and took clicks meant for it; give the param grid a gutter on its right. Co-Authored-By: Claude Opus 5.5 --- src/gui/window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 95ce64c..b4d664d 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -192,6 +192,9 @@ Gtk::Widget& EffectorWindow::buildChainTab() { params->append(paramHeading_); paramGrid_.set_column_spacing(8); paramGrid_.set_row_spacing(6); + // A gutter for the overlay scrollbar, which otherwise sits over the spin + // buttons' "+" and takes the clicks meant for it. + paramGrid_.set_margin_end(14); auto* paramScroller = Gtk::make_managed(); paramScroller->set_policy(Gtk::PolicyType::NEVER, Gtk::PolicyType::AUTOMATIC); paramScroller->set_child(paramGrid_);