buzzdx Posted August 27, 2021 Share Posted August 27, 2021 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, 1 Link to comment Share on other sites More sharing options...
Josh Posted August 27, 2021 Share Posted August 27, 2021 Oh wow, it is missing...one moment... 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 More sharing options...
Solution Josh Posted August 27, 2021 Solution Share Posted August 27, 2021 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. 1 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 More sharing options...
Recommended Posts