1
0
Fork 0

Add a class to the vizia ParamSlider label

So it can be targetted for styling
This commit is contained in:
Robbert van der Helm 2022-03-19 13:10:20 +01:00
parent 47fe8c35f7
commit 41d30561fa

View file

@ -110,6 +110,7 @@ impl ParamSlider {
// the slider. // the slider.
// TODO: Text entry stuff // TODO: Text entry stuff
Label::new(cx, param_display_value_lens) Label::new(cx, param_display_value_lens)
.class("value")
.height(Stretch(1.0)) .height(Stretch(1.0))
.width(Stretch(1.0)); .width(Stretch(1.0));
}); });