diff options
Diffstat (limited to 'Lib/stdwin/WindowParent.py')
-rwxr-xr-x | Lib/stdwin/WindowParent.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/stdwin/WindowParent.py b/Lib/stdwin/WindowParent.py index 39838f7..c9f2df4 100755 --- a/Lib/stdwin/WindowParent.py +++ b/Lib/stdwin/WindowParent.py @@ -35,7 +35,9 @@ class WindowParent() = ManageOneChild(): size = self.child.minsize(self.beginmeasuring()) self.size = max(self.size[0], size[0]), \ max(self.size[1], size[1]) - stdwin.setdefwinsize(self.size) + #stdwin.setdefwinsize(self.size) + # XXX Compensate stdwin bug: + stdwin.setdefwinsize(self.size[0]+4, self.size[1]+2) self.win = stdwin.open(self.title) if self.itimer: self.win.settimer(self.itimer) |