summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/ardour_ui_dialogs.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc
index eb91e7093f..5c66bf2cc3 100644
--- a/gtk2_ardour/ardour_ui_dialogs.cc
+++ b/gtk2_ardour/ardour_ui_dialogs.cc
@@ -237,10 +237,9 @@ ARDOUR_UI::set_session (Session *s)
editor_meter->show();
editor_meter->ButtonPress.connect_same_thread (editor_meter_connection, boost::bind (&ARDOUR_UI::editor_meter_button_press, this, _1));
- editor_meter_table.set_homogeneous(true);
editor_meter_table.set_spacings(3);
- editor_meter_table.attach(*editor_meter, 0,1, 0,2, SHRINK, EXPAND);
- editor_meter_table.attach(editor_meter_peak_display, 0,1, 2,3, EXPAND|FILL, EXPAND|FILL);
+ editor_meter_table.attach(*editor_meter, 0,1, 0,1, FILL, FILL);
+ editor_meter_table.attach(editor_meter_peak_display, 0,1, 1,2, FILL, EXPAND|FILL);
editor_meter->show();
editor_meter_peak_display.show();
@@ -252,7 +251,7 @@ ARDOUR_UI::set_session (Session *s)
editor_meter_peak_display.set_name ("meterbridge peakindicator");
editor_meter_peak_display.unset_flags (Gtk::CAN_FOCUS);
- editor_meter_peak_display.set_size_request (std::max(9.f, rintf(8.f * UIConfiguration::instance().get_ui_scale())), -1);
+ editor_meter_peak_display.set_size_request (-1, std::max(6.f, rintf(5.f * UIConfiguration::instance().get_ui_scale())) );
editor_meter_peak_display.set_corner_radius (3.0);
editor_meter_max_peak = -INFINITY;