From 41d30561fab061ea8833ffe828a8d8f9eea68acb Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 19 Mar 2022 13:10:20 +0100 Subject: [PATCH] Add a class to the vizia ParamSlider label So it can be targetted for styling --- nih_plug_vizia/src/widgets/param_slider.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nih_plug_vizia/src/widgets/param_slider.rs b/nih_plug_vizia/src/widgets/param_slider.rs index 77479f77..44be5679 100644 --- a/nih_plug_vizia/src/widgets/param_slider.rs +++ b/nih_plug_vizia/src/widgets/param_slider.rs @@ -110,6 +110,7 @@ impl ParamSlider { // the slider. // TODO: Text entry stuff Label::new(cx, param_display_value_lens) + .class("value") .height(Stretch(1.0)) .width(Stretch(1.0)); });