summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-08 17:34:20 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-08 17:34:20 +0000
commit8167262ca20d937e7e7cc828c8da47d963699b10 (patch)
tree8470680078cf7f2513db7442529d8e8900a2c265 /gtk2_ardour/location_ui.cc
parentdc65bd801c7a2e5a7b96900b21ad125169367652 (diff)
Fix use of vertical space when the locations dialogue is expanded.
git-svn-id: svn://localhost/ardour2/branches/3.0@7980 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r--gtk2_ardour/location_ui.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc
index 833eb73ae6..0dd6d99d5c 100644
--- a/gtk2_ardour/location_ui.cc
+++ b/gtk2_ardour/location_ui.cc
@@ -687,20 +687,20 @@ LocationUI::LocationUI ()
table->attach (loop_punch_box, 1, 2, table_row, table_row + 1);
++table_row;
- vbox->pack_start (*table, true, true);
+ vbox->pack_start (*table, false, false);
table = manage (new Table (3, 2));
table->set_spacings (4);
table->set_col_spacing (0, 32);
table_row = 0;
- table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1);
+ table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1, Gtk::SHRINK, Gtk::SHRINK);
++table_row;
l = manage (new Label (_("<b>Markers (Including CD Index)</b>")));
l->set_alignment (0, 0.5);
l->set_use_markup (true);
- table->attach (*l, 0, 2, table_row, table_row + 1);
+ table->attach (*l, 0, 2, table_row, table_row + 1, Gtk::FILL | Gtk::EXPAND, Gtk::SHRINK);
++table_row;
location_rows.set_name("LocationLocRows");
@@ -729,13 +729,13 @@ LocationUI::LocationUI ()
table->set_col_spacing (0, 32);
table_row = 0;
- table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1);
+ table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1, Gtk::SHRINK, Gtk::SHRINK);
++table_row;
l = manage (new Label (_("<b>Ranges (Including CD Track Ranges)</b>")));
l->set_alignment (0, 0.5);
l->set_use_markup (true);
- table->attach (*l, 0, 2, table_row, table_row + 1);
+ table->attach (*l, 0, 2, table_row, table_row + 1, Gtk::FILL | Gtk::EXPAND, Gtk::SHRINK);
++table_row;
range_rows.set_name("LocationRangeRows");
@@ -760,7 +760,7 @@ LocationUI::LocationUI ()
add_button_box->pack_start (add_location_button, true, true);
add_button_box->pack_start (add_range_button, true, true);
- vbox->pack_start (loc_range_panes);
+ vbox->pack_start (loc_range_panes, true, true);
vbox->pack_start (*add_button_box, false, false);
pack_start (*vbox);