diff --git a/direct/src/gui/DirectGuiBase.py b/direct/src/gui/DirectGuiBase.py index 89591570cd..6d0e80aecf 100644 --- a/direct/src/gui/DirectGuiBase.py +++ b/direct/src/gui/DirectGuiBase.py @@ -766,7 +766,7 @@ class DirectGuiWidget(DirectGuiBase, NodePath): # Now allow changes to take effect self.updateFrameStyle() if not self['frameSize']: - self.setFrameSize() + self.resetFrameSize() def enableEdit(self): self.bind(B2PRESS, self.editStart)