A labelled horizontal slider: label left, track + knob right, current value drawn beside the
knob. Dragging anywhere on the track seeks; onChange(value) fires while dragging.
Constructor
new(label:String, width:Float, min:Float, max:Float, value:Float, ?onChange:Float ‑> Void)
Parameters:
label | the row text on the left |
|---|---|
width | layout width (the track sits at the right edge) |
min | the range minimum |
max | the range maximum |
value | the initial value |
onChange | fired while dragging/seeking |
Variables
Methods
localize(key:String, fallback:String):Void
Switches the label to a localized string.
Parameters:
key | the translation key |
|---|---|
fallback | the source-language text |