aboutsummaryrefslogtreecommitdiff
path: root/demos/tiger.tcl
diff options
context:
space:
mode:
authorlecoanet2004-05-07 15:31:01 +0000
committerlecoanet2004-05-07 15:31:01 +0000
commit9f0d489e9cda59a8ed026be96fa56f9ecc1a33f7 (patch)
tree842972357fdc905c7353dacf88a10e78427b96d8 /demos/tiger.tcl
parent752ff8735f731e8d37fb1bea60b0323af1a1ec06 (diff)
downloadtkzinc-9f0d489e9cda59a8ed026be96fa56f9ecc1a33f7.zip
tkzinc-9f0d489e9cda59a8ed026be96fa56f9ecc1a33f7.tar.gz
tkzinc-9f0d489e9cda59a8ed026be96fa56f9ecc1a33f7.tar.bz2
tkzinc-9f0d489e9cda59a8ed026be96fa56f9ecc1a33f7.tar.xz
Switched from pack to grid; Demos are put in a namespace; No more name aliases for fonts
Diffstat (limited to 'demos/tiger.tcl')
-rw-r--r--demos/tiger.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/tiger.tcl b/demos/tiger.tcl
index 516d5c6..3baef6e 100644
--- a/demos/tiger.tcl
+++ b/demos/tiger.tcl
@@ -19,7 +19,7 @@ namespace eval tigerDemo {
wm title $w "Zinc tiger (Generated from SVG) Demonstration"
wm iconname $w tiger
- variable defaultfont [font create -family Helvetica -size 10 -weight bold]
+ variable defaultfont [font create -family Helvetica -size 16 -weight normal]
grid [button $w.dismiss -text Dismiss -command "destroy $w"] -row 2 -column 0 -pady 10
grid [button $w.code -text "See Code" -command "showCode $w"] -row 2 -column 1 -pady 10
@@ -28,7 +28,7 @@ namespace eval tigerDemo {
###########################################
# Zinc
##########################################
- grid [zinc $w.zinc -width 600 -height 600 -font 9x15 -borderwidth 0 -backcolor grey90 \
+ grid [zinc $w.zinc -width 600 -height 600 -font $defaultfont -borderwidth 0 -backcolor grey90 \
-render 1] -row 0 -column 0 -columnspan 2 -sticky news
# -reshape 1 -fullreshape 1
grid columnconfigure $w 0 -weight 1