Show More
@@ -33,6 +33,7 b' class _BoundedFloatWidget(_FloatWidget):' | |||
|
33 | 33 | def __init__(self, *pargs, **kwargs): |
|
34 | 34 | """Constructor""" |
|
35 | 35 | DOMWidget.__init__(self, *pargs, **kwargs) |
|
36 | self._validate('value', None, self.value) | |
|
36 | 37 | self.on_trait_change(self._validate, ['value', 'min', 'max']) |
|
37 | 38 | |
|
38 | 39 | def _validate(self, name, old, new): |
General Comments 0
You need to be logged in to leave comments.
Login now