aboutsummaryrefslogtreecommitdiff
path: root/demos/curveBezier.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'demos/curveBezier.tcl')
-rw-r--r--demos/curveBezier.tcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/curveBezier.tcl b/demos/curveBezier.tcl
index 32245b8..ed1622e 100644
--- a/demos/curveBezier.tcl
+++ b/demos/curveBezier.tcl
@@ -13,7 +13,7 @@ namespace eval curveBezier {
wm title $w "Zinc Curve Bezier Demonstration"
wm iconname $w Curve
- variable defaultfont [font create -family Helvetica -size 10 -weight bold]
+ variable defaultfont [font create -family Helvetica -size 14 -weight normal]
#variable imagePath [file join $zinc_library demos images]
#variable texture [image create photo -file [file join $imagePath paper-grey1.gif]]
variable splineColor \#AA0000
@@ -34,8 +34,7 @@ namespace eval curveBezier {
You can move the handles to modify the bezier curves
}
- #zinc $w.zinc -width 700 -height 650 -font 9x15 -borderwidth 0 -tile $texture
- grid [zinc $w.zinc -width 700 -height 650 -font 9x15 -borderwidth 0 \
+ grid [zinc $w.zinc -width 700 -height 650 -font $defaultfont -borderwidth 0 \
-backcolor \#898A8F] -row 1 -column 0 -columnspan 2 -sticky news
grid columnconfigure $w 0 -weight 1
grid columnconfigure $w 1 -weight 1