summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-05-27 21:26:56 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:45 -0400
commitcc88501d97914c6f85d61b6dc497abbd76d658c3 (patch)
treea4abb8dcb1a0c960199b90034b6eaea8d9cb7be3
parentd8b02be745be6c8575979dab8772b091436be3df (diff)
set minimum size for editor list
-rw-r--r--gtk2_ardour/editor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index efb2ad9d98..d2d6e2fc6d 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -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 */