diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-02 13:53:18 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-02 13:53:18 -0400 |
commit | 7565e213411cf809e47e5aebe3c5c685d3c4f39b (patch) | |
tree | 4c8f49c6afba11e43f404df1973e542406af3a3d /gtk2_ardour/gain_meter.cc | |
parent | ba0aa577b0c446ba7e8cdc89c103974a60fc4cfd (diff) |
partially revert incorrect changes to gain meter text entries/displays
Diffstat (limited to 'gtk2_ardour/gain_meter.cc')
-rw-r--r-- | gtk2_ardour/gain_meter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc index b715bcc47d..53968d7e8c 100644 --- a/gtk2_ardour/gain_meter.cc +++ b/gtk2_ardour/gain_meter.cc @@ -129,11 +129,13 @@ GainMeterBase::GainMeterBase (Session* s, bool horizontal, int fader_length, int gain_display.signal_activate().connect (sigc::mem_fun (*this, &GainMeter::gain_activated)); gain_display.signal_focus_in_event().connect (sigc::mem_fun (*this, &GainMeter::gain_focused), false); gain_display.signal_focus_out_event().connect (sigc::mem_fun (*this, &GainMeter::gain_focused), false); + gain_display.set_alignment (0.5); peak_display.set_name ("MixerStripPeakDisplay"); set_size_request_to_display_given_text (peak_display, "-80.g", 2, 6); /* note the descender */ max_peak = minus_infinity(); peak_display.set_text (_("-inf")); + peak_display.set_alignment (0.5); /* stuff related to the fact that the peak display is not, in fact, supposed to be a text entry. @@ -962,8 +964,6 @@ GainMeter::GainMeter (Session* s, int fader_length) , gain_display_box(true, 0) , hbox(true, 2) { - gain_display_box.set_border_width (0); - if (gain_display.get_parent()) { gain_display.get_parent()->remove (gain_display); } |