summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_group_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-08-30 15:46:39 +0000
committerCarl Hetherington <carl@carlh.net>2011-08-30 15:46:39 +0000
commitfc90be6059831a7e4789f951ac5283693de2e787 (patch)
treec1bcdffe402ad4e9c7c47891113f5e687577de50 /gtk2_ardour/route_group_dialog.cc
parent3b018f69028bf1c2701a28dad38352fbbdb8f070 (diff)
Move route group colour button to more logical place.
git-svn-id: svn://localhost/ardour2/branches/3.0@10036 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_group_dialog.cc')
-rw-r--r--gtk2_ardour/route_group_dialog.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/gtk2_ardour/route_group_dialog.cc b/gtk2_ardour/route_group_dialog.cc
index acc4eefbcc..6b1b5a3f91 100644
--- a/gtk2_ardour/route_group_dialog.cc
+++ b/gtk2_ardour/route_group_dialog.cc
@@ -73,6 +73,13 @@ RouteGroupDialog::RouteGroupDialog (RouteGroup* g, bool creating_new)
top_vbox->pack_start (*hbox, false, true);
top_vbox->pack_start (_active);
+ l = manage (new Label (_("Color"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
+ hbox = manage (new HBox);
+ hbox->set_spacing (12);
+ hbox->pack_start (*l, false, false);
+ hbox->pack_start (_color, false, false);
+ top_vbox->pack_start (*hbox, false, false);
+
main_vbox->pack_start (*top_vbox, false, false);
_name.set_text (_group->name ());
@@ -132,11 +139,6 @@ RouteGroupDialog::RouteGroupDialog (RouteGroup* g, bool creating_new)
table->attach (_edit, 1, 3, 7, 8, Gtk::FILL, Gtk::FILL, 0, 0);
table->attach (_route_active, 1, 3, 8, 9, Gtk::FILL, Gtk::FILL, 0, 0);
- HBox* b = manage (new HBox);
- l = manage (new Label (_("Color"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
- b->pack_start (*l, Gtk::SHRINK, Gtk::SHRINK);
- b->pack_start (_color, Gtk::FILL, Gtk::FILL);
- table->attach (*b, 1, 3, 10, 11, Gtk::FILL, Gtk::FILL, 0, 0);
options_box->pack_start (*table, false, true);
main_vbox->pack_start (*options_box, false, true);