diff options
Diffstat (limited to 'Lib/stdwin/TextEdit.py')
-rwxr-xr-x | Lib/stdwin/TextEdit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stdwin/TextEdit.py b/Lib/stdwin/TextEdit.py index d7b2236..f70fba1 100755 --- a/Lib/stdwin/TextEdit.py +++ b/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: |