summaryrefslogtreecommitdiffstats
path: root/tests/canvText.test
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1998-10-16 00:46:18 (GMT)
committerrjohnson <rjohnson>1998-10-16 00:46:18 (GMT)
commit00ace6b731cc252d13a0f4df56cb7576300c26f8 (patch)
tree4c6ef0612a00ddd1f599e20831195dd0e64a1261 /tests/canvText.test
parentc93c0e1c5641d87361cc3527eb53c38f7fdfb1bf (diff)
downloadtk-00ace6b731cc252d13a0f4df56cb7576300c26f8.zip
tk-00ace6b731cc252d13a0f4df56cb7576300c26f8.tar.gz
tk-00ace6b731cc252d13a0f4df56cb7576300c26f8.tar.bz2
Fixed bug in options for text items in canvas widget. unlike all other
items they didn't support a null (transparant fill color)
Diffstat (limited to 'tests/canvText.test')
-rw-r--r--tests/canvText.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/canvText.test b/tests/canvText.test
index 31566f6..9263e87 100644
--- a/tests/canvText.test
+++ b/tests/canvText.test
@@ -7,7 +7,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: canvText.test,v 1.2 1998/09/14 18:23:44 stanton Exp $
+# RCS: @(#) $Id: canvText.test,v 1.3 1998/10/16 00:46:19 rjohnson Exp $
if {"[info procs test]" != "test"} {
source defs
@@ -34,6 +34,7 @@ set ax [font measure $font 0]
foreach test {
{-anchor nw nw xyz {bad anchor position "xyz": must be n, ne, e, se, s, sw, w, nw, or center}}
{-fill #ff0000 #ff0000 xyz {unknown color name "xyz"}}
+ {-fill {} {} {} {}}
{-font {Times 40} {Times 40} {} {font "" doesn't exist}}
{-justify left left xyz {bad justification "xyz": must be left, right, or center}}
{-stipple gray50 gray50 xyz {bitmap "xyz" not defined}}