diff options
author | Guido van Rossum <guido@python.org> | 1991-05-14 12:22:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-05-14 12:22:25 (GMT) |
commit | aa1791765ee8de07ac37b71ad1c7d8d902e46aaa (patch) | |
tree | 3dbf409cb9c83c51d68e3e6c846f4c9cbfb54817 /Lib/lib-stdwin/TextEdit.py | |
parent | 17fca179bc3de0106cd10b2341663f72946b8cfe (diff) | |
download | cpython-aa1791765ee8de07ac37b71ad1c7d8d902e46aaa.zip cpython-aa1791765ee8de07ac37b71ad1c7d8d902e46aaa.tar.gz cpython-aa1791765ee8de07ac37b71ad1c7d8d902e46aaa.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'Lib/lib-stdwin/TextEdit.py')
-rw-r--r-- | Lib/lib-stdwin/TextEdit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-stdwin/TextEdit.py b/Lib/lib-stdwin/TextEdit.py index d7b2236..f70fba1 100644 --- a/Lib/lib-stdwin/TextEdit.py +++ b/Lib/lib-stdwin/TextEdit.py @@ -25,7 +25,7 @@ class TextEdit(): del self.window # def minsize(self, m): - return self.cols*m.textwidth('n'), self.rows*m.lineheight() + return self.cols*m.textwidth('in')/2, self.rows*m.lineheight() def setbounds(self, bounds): self.bounds = bounds if self.editor: |