summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/tk8.6/demos/items.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tltcl/lib/tk8.6/demos/items.tcl')
-rw-r--r--Master/tlpkg/tltcl/lib/tk8.6/demos/items.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/tltcl/lib/tk8.6/demos/items.tcl b/Master/tlpkg/tltcl/lib/tk8.6/demos/items.tcl
index 1297046113f..19cd4f43133 100644
--- a/Master/tlpkg/tltcl/lib/tk8.6/demos/items.tcl
+++ b/Master/tlpkg/tltcl/lib/tk8.6/demos/items.tcl
@@ -32,7 +32,7 @@ canvas $c -scrollregion {0c 0c 30c 24c} -width 15c -height 10c \
-xscrollcommand "$w.frame.hscroll set" \
-yscrollcommand "$w.frame.vscroll set"
ttk::scrollbar $w.frame.vscroll -command "$c yview"
-ttk::scrollbar $w.frame.hscroll -orient horiz -command "$c xview"
+ttk::scrollbar $w.frame.hscroll -orient horizontal -command "$c xview"
grid $c -in $w.frame \
-row 0 -column 0 -rowspan 1 -columnspan 1 -sticky news