From 9f0d489e9cda59a8ed026be96fa56f9ecc1a33f7 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 7 May 2004 15:31:01 +0000 Subject: Switched from pack to grid; Demos are put in a namespace; No more name aliases for fonts --- demos/tiger.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/tiger.tcl') 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 -- cgit v1.1