set minimum size for editor list
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 28 May 2016 01:26:56 +0000 (21:26 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:45 +0000 (15:30 -0400)
gtk2_ardour/editor.cc

index efb2ad9d9825bf44831bbd09b41180bea6689fc9..d2d6e2fc6db5649264ea117116d7cb419b580e6e 100644 (file)
@@ -715,14 +715,14 @@ Editor::Editor ()
                editor_summary_pane.add (_summary_hbox);
        }
 
-       edit_pane.set_drag_cursor (*_cursors->expand_left_right);
-       editor_summary_pane.set_drag_cursor (*_cursors->expand_up_down);
-
        edit_pane.add (editor_summary_pane);
        if (!ARDOUR::Profile->get_trx()) {
                edit_pane.add (_the_notebook);
        }
 
+       edit_pane.set_drag_cursor (*_cursors->expand_left_right);
+       edit_pane.set_child_minsize (1, 30); /* rough guess at width of notebook tabs */
+       editor_summary_pane.set_drag_cursor (*_cursors->expand_up_down);
 
        if (!settings || (prop = settings->property ("edit-horizontal-pane-pos")) == 0) {
                /* initial allocation is 90% to canvas, 10% to notebook */