From a90850abec2b1dee7ff21893aaea0ba4d83074d8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 14 Jan 2026 14:26:21 -0700 Subject: [PATCH] preferences: expand the height of the listviews in the midi port config tab There is some weird behavior here, where causing a refill of the listview (e.g. by changing the status of a port flag) doesn't interact correctly with the scrollbar. I can't find a solution at the present time, so just grow the listview vertical size to accomodate a lot more (potential) MIDI ports in both lists (without altering the prefs dialog size) --- gtk2_ardour/rc_option_editor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 41d5097899..2e56aa1ac0 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2072,7 +2072,7 @@ class MidiPortOptions : public OptionEditorMiniPage, public sigc::trackable input_scroller.add (midi_input_view); input_scroller.set_policy (POLICY_NEVER, POLICY_AUTOMATIC); - input_scroller.set_size_request (-1, 180); + input_scroller.set_size_request (-1, 300); input_scroller.show (); int n = table.property_n_rows(); @@ -2083,7 +2083,7 @@ class MidiPortOptions : public OptionEditorMiniPage, public sigc::trackable output_scroller.add (midi_output_view); output_scroller.set_policy (POLICY_NEVER, POLICY_AUTOMATIC); - output_scroller.set_size_request (-1, 180); + output_scroller.set_size_request (-1, 300); output_scroller.show (); n = table.property_n_rows();