ui:Slider() step value?

SirEdric
Fusionator
Posts: 1564
Joined: Tue Aug 05, 2014 10:04 am
Been thanked: 45 times
Contact:

ui:Slider() step value?

Hi there.

Does the ui:Slider() support some kind of step-property?
i.e. when I nudge the slider with the arrow keys I want to change the value by (say) 100 rather than the default 1.

Thanks for any ideas.

Eric.

PeterLoveday
Fusioneer
Posts: 130
Joined: Sun Sep 14, 2014 6:09 pm
Been thanked: 2 times

Re: ui:Slider() step value?

Try: SingleStep = 100,

Either in the ui:Slider { ... } definition, or you can set it after from the appropriate item ID.

You can also set PageStep, which is the amount stepped when you use pageup/down.

SirEdric
Fusionator
Posts: 1564
Joined: Tue Aug 05, 2014 10:04 am
Been thanked: 45 times
Contact:

Re: ui:Slider() step value?

Brilliant!
Thanks a bunch of salmiakki!