From 522827577ef3193f87b7f048970c350876ad3d1b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 10 Jan 2017 18:24:34 +0100 Subject: Shrink preferences window when detached --- gtk2_ardour/rc_option_editor.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/rc_option_editor.cc') diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 78cbb5767c..699a75f072 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -3985,6 +3985,8 @@ RCOptionEditor::use_own_window (bool and_fill_it) if (win && new_window) { win->set_name ("PreferencesWindow"); ARDOUR_UI::instance()->setup_toplevel_window (*win, _("Preferences"), this); + win->resize (1, 1); + win->set_resizable (false); } return win; -- cgit v1.2.3