Jump to content

How to set the Slider widget's range? Missing documentation?


buzzdx
 Share

Go to solution Solved by Josh,

Recommended Posts

In the create slider function documentation it says the slider has a defined range. I could not find a function in the documentation that does that. I found the SetRange() function which seems to be doing that, but I'm not sure why it takes an x and y value for a one dimensional slider. Could you please clarify how to set the range of a slider and add it to the docs?

Thanks,

 

  • Thanks 1
Link to comment
Share on other sites

  • Solution

Updated:
https://www.ultraengine.com/learn/CPP/Widget_SetRange

Note that while writing the example I noticed the minimum range value for trackbar and stepper style sliders is being ignored, i.e. it's always being treated as if the min range value is zero. This will be fixed in the next update.

  • Like 1
  • Thanks 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • Josh locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...