Browse Source

possible fix to initial frame size problems

David Rose 24 years ago
parent
commit
ce4b86ddd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/gui/DirectGuiBase.py

+ 1 - 1
direct/src/gui/DirectGuiBase.py

@@ -766,7 +766,7 @@ class DirectGuiWidget(DirectGuiBase, NodePath):
         # Now allow changes to take effect
         # Now allow changes to take effect
         self.updateFrameStyle()
         self.updateFrameStyle()
         if not self['frameSize']:
         if not self['frameSize']:
-            self.setFrameSize()
+            self.resetFrameSize()
 
 
     def enableEdit(self):
     def enableEdit(self):
         self.bind(B2PRESS, self.editStart)
         self.bind(B2PRESS, self.editStart)