aboutsummaryrefslogtreecommitdiff
path: root/demos/labelformat.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'demos/labelformat.tcl')
-rw-r--r--demos/labelformat.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/labelformat.tcl b/demos/labelformat.tcl
index 2a18854..cab978b 100644
--- a/demos/labelformat.tcl
+++ b/demos/labelformat.tcl
@@ -12,7 +12,7 @@ namespace eval labelFormat {
wm title $w "Zinc Label Format Demonstration"
wm iconname $w Label
- 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
@@ -33,7 +33,7 @@ namespace eval labelFormat {
###########################################
# Zinc
##########################################
- grid [zinc $w.zinc -width 600 -height 500 -font 10x20 -borderwidth 3 \
+ grid [zinc $w.zinc -width 600 -height 500 -font $defaultfont -borderwidth 3 \
-relief sunken] -row 1 -column 0 -columnspan 2 -sticky news
grid columnconfigure $w 0 -weight 1
grid columnconfigure $w 1 -weight 1