summaryrefslogtreecommitdiffstats
path: root/tests/textWind.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-11-30 23:42:49 (GMT)
committerhobbs <hobbs>2005-11-30 23:42:49 (GMT)
commitd6e19dec5117d1badcc8400afa324eacceb42b22 (patch)
tree8851df12496c33aec9d8b27ba3d31b074e4edb63 /tests/textWind.test
parentbd774a44a840aacdc897242798453a0de8ba984a (diff)
downloadtk-d6e19dec5117d1badcc8400afa324eacceb42b22.zip
tk-d6e19dec5117d1badcc8400afa324eacceb42b22.tar.gz
tk-d6e19dec5117d1badcc8400afa324eacceb42b22.tar.bz2
* tests/textWind.test: use "Courier -12" on all platforms.
Reduces Windows XP test errors in that file from 9 to 2 (13.2 and 13.9 still off-by-one pixel).
Diffstat (limited to 'tests/textWind.test')
-rw-r--r--tests/textWind.test10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index c7093ca..babe7db 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: textWind.test,v 1.5 2002/07/13 20:28:35 dgp Exp $
+# RCS: @(#) $Id: textWind.test,v 1.5.2.1 2005/11/30 23:42:49 hobbs Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
@@ -20,11 +20,7 @@ tcltest::loadTestedCommands
option add *Text.borderWidth 2
option add *Text.highlightThickness 2
-if {$tcl_platform(platform) == "windows"} {
- option add *Text.font {Courier -14}
-} else {
- option add *Text.font {Courier -12}
-}
+option add *Text.font {Courier -12}
text .t -width 30 -height 6 -bd 2 -highlightthickness 2
pack append . .t {top expand fill}
@@ -36,7 +32,7 @@ if {[winfo depth .t] > 1} {
} else {
set color black
}
-
+
# The statements below reset the main window; it's needed if the window
# manager is mwm to make mwm forget about a previous minimum size setting.