summaryrefslogtreecommitdiffstats
path: root/demos/span.tcl
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-12-02 21:43:30 (GMT)
committertreectrl <treectrl>2006-12-02 21:43:30 (GMT)
commit164bb382bc7d505ff42383c2ab840fa7189d343b (patch)
treec1fcfd9a8790344fbedf4f2bbc255e2599112ad3 /demos/span.tcl
parentc785d9471a933b7dce6f6d5a6843182ff4b789f4 (diff)
downloadtktreectrl-164bb382bc7d505ff42383c2ab840fa7189d343b.zip
tktreectrl-164bb382bc7d505ff42383c2ab840fa7189d343b.tar.gz
tktreectrl-164bb382bc7d505ff42383c2ab840fa7189d343b.tar.bz2
Use the new column option -itemjustify.
Diffstat (limited to 'demos/span.tcl')
-rw-r--r--demos/span.tcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/span.tcl b/demos/span.tcl
index 9c443c4..2722a92 100644
--- a/demos/span.tcl
+++ b/demos/span.tcl
@@ -1,4 +1,4 @@
-# RCS: @(#) $Id: span.tcl,v 1.3 2006/11/23 22:24:56 treectrl Exp $
+# RCS: @(#) $Id: span.tcl,v 1.4 2006/12/02 21:43:30 treectrl Exp $
#
# Demo: Column span
@@ -22,7 +22,8 @@ proc DemoSpan {} {
#
for {set i 0} {$i < 100} {incr i} {
- $T column create -text "$i" -tags C$i -width 40
+ $T column create -itemjustify left -justify center -text "$i" \
+ -width 40 -tags C$i
}
#