summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-05 21:25:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-05 21:25:02 (GMT)
commit2a2cd3593e873086fc6f1045cab60cc07f0f496d (patch)
treefe0566c1a7a9089d10f11df8f2358c996c0ba52b /library
parent02b27e7cc30d900646342737b4b5167f24940a91 (diff)
downloadtk-2a2cd3593e873086fc6f1045cab60cc07f0f496d.zip
tk-2a2cd3593e873086fc6f1045cab60cc07f0f496d.tar.gz
tk-2a2cd3593e873086fc6f1045cab60cc07f0f496d.tar.bz2
Restore looks of canvas items demo as it was in previous Tk versions, but now such that it looks the same with Tk 8.6 and 8.7
Diffstat (limited to 'library')
-rw-r--r--library/demos/items.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/demos/items.tcl b/library/demos/items.tcl
index aca37c2..be9214a 100644
--- a/library/demos/items.tcl
+++ b/library/demos/items.tcl
@@ -94,14 +94,14 @@ $c create line 12c 6c 13.5c 4.5c 16.5c 7.5c 18c 6c \
$c create text 25c .2c -text Polygons -anchor n
$c create polygon 21c 1.0c 22.5c 1.75c 24c 1.0c 23.25c 2.5c \
- 24c 4.0c 22.5c 3.25c 21c 4.0c 21.75c 2.5c -outline $green \
- -width 4 -tags item
+ 24c 4.0c 22.5c 3.25c 21c 4.0c 21.75c 2.5c -fill $green \
+ -outline {} -width 4 -tags item
$c create polygon 25c 4c 25c 4c 25c 1c 26c 1c 27c 4c 28c 1c \
29c 1c 29c 4c 29c 4c -fill $red -outline {} -smooth on -tags item
$c create polygon 22c 4.5c 25c 4.5c 25c 6.75c 28c 6.75c \
28c 5.25c 24c 5.25c 24c 6.0c 26c 6c 26c 7.5c 22c 7.5c \
-stipple @[file join $tk_demoDirectory images gray25.xbm] \
- -fill $blue -tags item
+ -fill $blue -outline {} -tags item
$c create text 5c 8.2c -text Rectangles -anchor n
$c create rectangle 1c 9.5c 4c 12.5c -outline $red -width 3m -tags item