From 00d840794dac656d476695dd007f49da2456092f Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 12 Jan 2023 18:53:21 +0100 Subject: [PATCH] Update gain_gui_vizia for cosmic-text changes --- plugins/examples/gain_gui_vizia/src/editor.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/examples/gain_gui_vizia/src/editor.rs b/plugins/examples/gain_gui_vizia/src/editor.rs index b8531950..69049911 100644 --- a/plugins/examples/gain_gui_vizia/src/editor.rs +++ b/plugins/examples/gain_gui_vizia/src/editor.rs @@ -49,9 +49,7 @@ pub(crate) fn create( .child_top(Stretch(1.0)) .child_bottom(Pixels(0.0)); - // NOTE: VIZIA adds 1 pixel of additional height to these labels, so we'll need to - // compensate for that - Label::new(cx, "Gain").bottom(Pixels(-1.0)); + Label::new(cx, "Gain"); ParamSlider::new(cx, Data::params, |params| ¶ms.gain); PeakMeter::new(