[RangeSlider] Order of setting low and high values affects

Issue #728 new
Ross Marchant
created an issue

Steps to recreate:

  1. Add range slider to scene in SceneBuilder
  2. Set max and min to 0 and 100
  3. In controller initialize method, init the control using:
rangeSlider.setLowValue(10);
rangeSlider.setHighValue(80);
  1. Run program, low value for slider will not be set correctly.
  2. Change to the following and it will work:
rangeSlider.setHighValue(80);
rangeSlider.setLowValue(10);

Comments (4)

  1. Robert Ross

    This same issue exists with bindings and properties on these items, as well as min and max values/properties. The issue really seems to be that, fundamentally, there needs to be a way to "force" the old bounds out instead of preventing the new values from being set due to bounds checking.

  2. Log in to comment