diff --git a/Lib/lib-stdwin/Sliders.py b/Lib/lib-stdwin/Sliders.py index 6c2ef23b8c9..b142ef4f740 100644 --- a/Lib/lib-stdwin/Sliders.py +++ b/Lib/lib-stdwin/Sliders.py @@ -7,6 +7,7 @@ from stdwinevents import * import rect from Buttons import * +from Resize import * # Field indices in event detail @@ -42,7 +43,7 @@ def mouse_up(self, detail): self.active = 0 # -class DragSliderAppearance() = ButtonAppearance(): +class DragSliderAppearance() = NoResize(), ButtonAppearance(): # def define(self, (win, bounds)): self.min = 0 @@ -109,7 +110,7 @@ def timer_trigger(self): # A complex slider is a wrapper around three buttons: # One to step down, a dragslider, and one to step up. # -class ComplexSlider() = LabelAppearance(), NoReactivity(): +class ComplexSlider() = NoResize(), LabelAppearance(), NoReactivity(): # def define(self, (win, bounds)): # diff --git a/Lib/stdwin/Sliders.py b/Lib/stdwin/Sliders.py index 6c2ef23b8c9..b142ef4f740 100755 --- a/Lib/stdwin/Sliders.py +++ b/Lib/stdwin/Sliders.py @@ -7,6 +7,7 @@ from stdwinevents import * import rect from Buttons import * +from Resize import * # Field indices in event detail @@ -42,7 +43,7 @@ def mouse_up(self, detail): self.active = 0 # -class DragSliderAppearance() = ButtonAppearance(): +class DragSliderAppearance() = NoResize(), ButtonAppearance(): # def define(self, (win, bounds)): self.min = 0 @@ -109,7 +110,7 @@ def timer_trigger(self): # A complex slider is a wrapper around three buttons: # One to step down, a dragslider, and one to step up. # -class ComplexSlider() = LabelAppearance(), NoReactivity(): +class ComplexSlider() = NoResize(), LabelAppearance(), NoReactivity(): # def define(self, (win, bounds)): #