change packing of GainMeter so that the fader+meter will expand to fill available...
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 28 Feb 2016 16:06:38 +0000 (11:06 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:38 +0000 (15:30 -0400)
gtk2_ardour/gain_meter.cc

index bb20555edad3d640ddb7818af23c7a018028fffd..0eea976b97b02fa73f601a162f7cd6d62d2b8f96 100644 (file)
@@ -983,7 +983,7 @@ GainMeter::GainMeter (Session* s, int fader_length)
        set_spacing (PX_SCALE(2, 2));
 
        pack_start (gain_display_box, Gtk::PACK_SHRINK);
-       pack_start (hbox, Gtk::PACK_SHRINK);
+       pack_start (hbox, true, true);
 
        meter_alignment.set (0.5, 0.5, 0.0, 1.0);
        meter_alignment.add (*level_meter);