Visibility fixes for detached editor and Show-Sends buttons

Detaching the editor would cause the inactive_name labels and
to mixer-strip elements to appear (due to show_all).
This commit is contained in:
Ben Loftis 2020-03-31 01:09:10 +02:00 committed by Robin Gareus
parent eb6d718305
commit 8fced29372
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 0 deletions

View File

@ -284,6 +284,7 @@ MixerStrip::init ()
trim_control.StopGesture.connect(sigc::mem_fun(*this, &MixerStrip::trim_end_touch));
input_button_box.pack_start (trim_control, false, false);
global_vpacker.set_no_show_all ();
global_vpacker.set_border_width (1);
global_vpacker.set_spacing (0);

View File

@ -189,6 +189,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie
controls_table.show_all ();
controls_table.set_no_show_all ();
inactive_table.set_no_show_all ();
inactive_table.set_border_width (4); //try to match the offset of the label on an "active" track
inactive_table.attach (inactive_label, 1, 2, 0, 1, Gtk::FILL|Gtk::EXPAND, Gtk::SHRINK, 0, 0);
controls_vbox.pack_start (inactive_table, false, false);