summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/TextEdit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-stdwin/TextEdit.py')
-rw-r--r--Lib/lib-stdwin/TextEdit.py2
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: