Move route group colour button to more logical place.
authorCarl Hetherington <carl@carlh.net>
Tue, 30 Aug 2011 15:46:39 +0000 (15:46 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 30 Aug 2011 15:46:39 +0000 (15:46 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10036 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/route_group_dialog.cc

index acc4eefbcc1c448163b18d576136d2c72d50c2b4..6b1b5a3f91cef00593d288082dd8507767d73fbc 100644 (file)
@@ -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);