Dimitris
Dimitris

Reputation: 4349

ControlsFX RangeSlider Can't be disabled

I am using ControlsFX 8.40.9 and latest JDK 1.8.0_51
I can't set the RangeSlider to disabled.
I am getting warning in log when setting slider.setDisable(true); :

Aug 05, 2015 5:40:45 PM javafx.scene.CssStyleHelper calculateValue WARNING: Could not resolve '-fx-disabled-opacity' while resolving lookups for '-fx-opacity' from rule '.range-slider:disabled' in stylesheet jar:file:/C:/Users/dimitrim/Documents/NetBeansProjects/FlatDesignTest/dist/run546627019/lib/controlsfx-8.40.9.jar!/org/controlsfx/control/rangeslider.bss*

Upvotes: 0

Views: 198

Answers (1)

Jonathan Millman
Jonathan Millman

Reputation: 165

This was a bug that has been fixed in ControlsFx. See https://bitbucket.org/controlsfx/controlsfx/issues/568/cant-set-rangeslider-to-disabled for details

Upvotes: 2

Related Questions