tweak location-UI layout (right-align checkboxes & buttons)
authorRobin Gareus <robin@gareus.org>
Mon, 25 Apr 2016 17:55:00 +0000 (19:55 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 25 Apr 2016 17:55:00 +0000 (19:55 +0200)
gtk2_ardour/location_ui.cc

index 842d5cb1fb10db7d9f8aca6f970eb632cdce8191..1d54622c9357be74e3cac0931aae30264e0d8486 100644 (file)
@@ -256,7 +256,7 @@ LocationEditRow::set_location (Location *loc)
                remove_button.hide ();
 
                if (!name_label.get_parent()) {
-                       item_table.attach (name_label, 2, 3, 0, 1, FILL, FILL, 4, 0);
+                       item_table.attach (name_label, 2, 3, 0, 1, EXPAND|FILL, FILL, 4, 0);
                }
 
                name_label.show();
@@ -761,6 +761,7 @@ LocationUI::LocationUI ()
        loop_edit_row.set_clock_group (*_clock_group);
        punch_edit_row.set_clock_group (*_clock_group);
 
+       loop_punch_box.set_border_width (6); // 5 + 1 px framebox-border
        loop_punch_box.pack_start (loop_edit_row, false, false);
        loop_punch_box.pack_start (punch_edit_row, false, false);