You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Expected: slider going from 0 to 72 instead of 0.0 to 1.0)
The same happens with other modes ("spinner").
Known workaround: assign low and high manually. Limitation: this is unfeasible if the Range trait uses extended trait names for low and high.
Addendum. I should also point out that if the RangeEditor is then used, it will likely generate invalid trait values (in this case, Range is validating to int because high, low and value are ints; RangeEditor however produces floats because it ignored these parameters).
It surprised me that the exception is displayed to the user with a dialog rather than with a "failed validation" color.
The text was updated successfully, but these errors were encountered:
Using qt (pyside6 6.2.3) with the latest traitsui release (7.4.3).
A
RangeEditor
that edits aRange
trait will ignore the trait'slow
andhigh
and will default to 0.0 - 1.0 instead:(Expected: slider going from 0 to 72 instead of 0.0 to 1.0)
The same happens with other modes ("spinner").
Known workaround: assign
low
andhigh
manually.Limitation: this is unfeasible if the
Range
trait uses extended trait names forlow
andhigh
.Addendum. I should also point out that if the
RangeEditor
is then used, it will likely generate invalid trait values (in this case,Range
is validating toint
because high, low and value are ints;RangeEditor
however produces floats because it ignored these parameters).It surprised me that the exception is displayed to the user with a dialog rather than with a "failed validation" color.
The text was updated successfully, but these errors were encountered: