13
0
Fork 0

L: tweaks to global track-header widget layout

This commit is contained in:
Ben Loftis 2024-05-07 16:07:06 -05:00
parent 7e2ebca512
commit 2b8967ac12
2 changed files with 12 additions and 5 deletions

View File

@ -690,9 +690,16 @@ Editor::Editor ()
VBox *tsizer = manage(new VBox);
tsizer->pack_end(_track_box, false, false, 4);
VBox *rsizer = manage(new VBox);
rsizer->pack_end(_livetrax_btn_rec_all, false, false, 4);
VBox *ssizer = manage(new VBox);
ssizer->pack_end(solo_btn, false, false, 4);
time_bars_hbox.pack_start (*tsizer, true, true);
time_bars_hbox.pack_start (_livetrax_btn_rec_all, true, true);
time_bars_hbox.pack_start (solo_btn, true, true);
time_bars_hbox.pack_start (*manage(new Label()), true, true);
time_bars_hbox.pack_end (*rsizer, false, false, 12);
time_bars_hbox.pack_end (*ssizer, false, false);
time_bars_event_box.add (time_bars_hbox);
#else
time_bars_event_box.add (time_bars_vbox);

View File

@ -187,9 +187,9 @@ RouteTimeAxisView::set_route (std::shared_ptr<Route> rt)
monitor_input_button->show ();
controls_table.attach (number_label, 0, 1, 0, 2, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
controls_table.attach (*rec_enable_button, 3, 4, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
controls_table.attach (*mute_button, 4, 5, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
controls_table.attach (*solo_button, 5, 6, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
controls_table.attach (*mute_button, 3, 4, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
controls_table.attach (*solo_button, 4, 5, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
controls_table.attach (*rec_enable_button, 5, 6, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 0, 0);
controls_button_size_group->add_widget(*mute_button);
controls_button_size_group->add_widget(*solo_button);