From 1ad22e9ce986ca835523ebfca9aa6fccc5cee760 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 30 Dec 2022 21:55:35 +0100 Subject: [PATCH] Make engine dialog non-resizable (remove resize workarounds) --- gtk2_ardour/engine_dialog.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 10f3f62eb7..7789b0bade 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -133,6 +133,7 @@ EngineControl::EngineControl () AttachOptions xopt = AttachOptions (FILL | EXPAND); int row; + set_resizable (false); set_name (X_("AudioMIDISetup")); /* the backend combo is the one thing that is ALWAYS visible */ @@ -1079,7 +1080,6 @@ EngineControl::backend_changed () if (!ignore_changes) { maybe_display_saved_state (); } - resize (1, 1); // shrink window } void @@ -2803,7 +2803,6 @@ EngineControl::on_monitor_expand () #else lbl_monitor_model.hide (); monitor_model_combo.hide (); - resize (1, 1); // shrink window #endif } } @@ -2833,7 +2832,6 @@ EngineControl::on_latency_expand () lbl_midi_system.hide (); midi_option_combo.hide (); midi_devices_button.hide (); - resize (1, 1); // shrink window } }