summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-12-26 15:34:48 (GMT)
committerGuido van Rossum <guido@python.org>1990-12-26 15:34:48 (GMT)
commitfc8e0d980f7d118e9ffb6a51228588f4211f2643 (patch)
tree901ebf75f0778d0f5a6cdfcf7d5afbbbe75b8ce7 /Lib/lib-stdwin
parentee11583f0009308c67f2e9aeff79348929d07c7a (diff)
downloadcpython-fc8e0d980f7d118e9ffb6a51228588f4211f2643.zip
cpython-fc8e0d980f7d118e9ffb6a51228588f4211f2643.tar.gz
cpython-fc8e0d980f7d118e9ffb6a51228588f4211f2643.tar.bz2
Compensate stdwin bug
Diffstat (limited to 'Lib/lib-stdwin')
-rw-r--r--Lib/lib-stdwin/WindowParent.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/lib-stdwin/WindowParent.py b/Lib/lib-stdwin/WindowParent.py
index 39838f7..c9f2df4 100644
--- a/Lib/lib-stdwin/WindowParent.py
+++ b/Lib/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)