summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-11 00:38:43 +0200
committerRobin Gareus <robin@gareus.org>2013-07-11 00:38:43 +0200
commit4b39813d69fb63b64b1a0e4bd348b046d366f78c (patch)
treef58331581941382b1c2a3dda02ef887d836b5bb9 /gtk2_ardour
parent56a4e2ee15d0c5c232c673a30e04deef808e59cd (diff)
display separator on newly created tracks.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/time_axis_view.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc
index 555efcc2b5..edb60a85c7 100644
--- a/gtk2_ardour/time_axis_view.cc
+++ b/gtk2_ardour/time_axis_view.cc
@@ -134,6 +134,8 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie
controls_table.set_no_show_all ();
HSeparator* separator = manage (new HSeparator());
+ separator->set_size_request(-1, 1);
+ separator->show();
controls_vbox.pack_start (controls_table, false, false);
controls_vbox.show ();
@@ -159,8 +161,8 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie
controls_ebox.signal_leave_notify_event().connect (sigc::mem_fun (*this, &TimeAxisView::controls_ebox_leave));
controls_ebox.show ();
- time_axis_vbox.pack_end (*separator, false, false);
time_axis_vbox.pack_start (controls_ebox, true, true, 0);
+ time_axis_vbox.pack_end (*separator, false, false);
time_axis_vbox.show();
ColorsChanged.connect (sigc::mem_fun (*this, &TimeAxisView::color_handler));