diff options
author | Guido van Rossum <guido@python.org> | 1990-12-26 15:34:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-12-26 15:34:48 (GMT) |
commit | fc8e0d980f7d118e9ffb6a51228588f4211f2643 (patch) | |
tree | 901ebf75f0778d0f5a6cdfcf7d5afbbbe75b8ce7 /Lib/stdwin/WindowParent.py | |
parent | ee11583f0009308c67f2e9aeff79348929d07c7a (diff) | |
download | cpython-fc8e0d980f7d118e9ffb6a51228588f4211f2643.zip cpython-fc8e0d980f7d118e9ffb6a51228588f4211f2643.tar.gz cpython-fc8e0d980f7d118e9ffb6a51228588f4211f2643.tar.bz2 |
Compensate stdwin bug
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) |