From 4b39813d69fb63b64b1a0e4bd348b046d366f78c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 11 Jul 2013 00:38:43 +0200 Subject: display separator on newly created tracks. --- gtk2_ardour/time_axis_view.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/time_axis_view.cc') 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)); -- cgit v1.2.3