13
0

space out transport buttons

git-svn-id: svn://localhost/ardour2/branches/3.0@10475 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-07 17:47:49 +00:00
parent 356e6a1665
commit 470e2ab737

View File

@ -314,12 +314,13 @@ ARDOUR_UI::setup_transport ()
alert_box.pack_start (solo_alert_button, false, false);
alert_box.pack_start (auditioning_alert_button, false, false);
HBox* transport_hbox = manage (new HBox);
HBox* tbox = manage (new HBox);
tbox->set_spacing (2);
transport_tearoff_hbox.set_border_width (3);
transport_hbox->pack_start (goto_start_button, false, false);
transport_hbox->pack_start (goto_end_button, false, false);
tbox->pack_start (goto_start_button, false, false);
tbox->pack_start (goto_end_button, false, false);
/* translators: Egternal is "External" with a descender character */
set_size_request_to_display_given_text (sync_button, X_("Egternal"), 4, 10);
@ -327,10 +328,10 @@ ARDOUR_UI::setup_transport ()
// transport_tearoff_hbox.pack_start (*svbox, false, false, 3);
if (Profile->get_sae()) {
transport_hbox->pack_start (auto_loop_button);
transport_hbox->pack_start (roll_button);
tbox->pack_start (auto_loop_button);
tbox->pack_start (roll_button);
} else {
transport_hbox->pack_start (auto_loop_button, false, false);
tbox->pack_start (auto_loop_button, false, false);
Frame* jpframe = manage (new Frame);
HBox* jpbox = manage (new HBox);
@ -342,10 +343,10 @@ ARDOUR_UI::setup_transport ()
jpbox->pack_start (join_play_range_button, false, false);
jpbox->pack_start (roll_button, false, false);
transport_hbox->pack_start (*jpframe, false, false);
tbox->pack_start (*jpframe, false, false);
}
transport_hbox->pack_start (stop_button, false, false);
transport_hbox->pack_start (rec_button, false, false, 6);
tbox->pack_start (stop_button, false, false);
tbox->pack_start (rec_button, false, false, 6);
HBox* clock_box = manage (new HBox);
clock_box->set_border_width (2);
@ -364,7 +365,7 @@ ARDOUR_UI::setup_transport ()
transport_vbox->set_name ("TransportBase");
transport_vbox->set_border_width (3);
transport_vbox->set_spacing (3);
transport_vbox->pack_start (*transport_hbox, true, true, 0);
transport_vbox->pack_start (*tbox, true, true, 0);
transport_vbox->pack_start (*shuttle_box, false, false, 0);
transport_tearoff_hbox.pack_start (*transport_vbox, false, false, 0);