aboutsummaryrefslogtreecommitdiff
path: root/demos/textInput.tcl
diff options
context:
space:
mode:
authorlecoanet2007-04-23 13:06:18 +0000
committerlecoanet2007-04-23 13:06:18 +0000
commit7c5d00a56e62284cd53a21b45e7cff0e570903d3 (patch)
tree5cd2092ae7a2ebd2341e0cf93f5e8f6da1880f59 /demos/textInput.tcl
parentb027f06702b6716133c7b2ff89d345dda3189d2c (diff)
downloadtkzinc-7c5d00a56e62284cd53a21b45e7cff0e570903d3.zip
tkzinc-7c5d00a56e62284cd53a21b45e7cff0e570903d3.tar.gz
tkzinc-7c5d00a56e62284cd53a21b45e7cff0e570903d3.tar.bz2
tkzinc-7c5d00a56e62284cd53a21b45e7cff0e570903d3.tar.xz
Fix the text cursor not displayed when the text is empty
Diffstat (limited to 'demos/textInput.tcl')
-rw-r--r--demos/textInput.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/textInput.tcl b/demos/textInput.tcl
index 31da1c5..79b6e40 100644
--- a/demos/textInput.tcl
+++ b/demos/textInput.tcl
@@ -41,7 +41,7 @@ namespace eval textInputDemo {
###########################################
# Zinc
##########################################
- grid [zinc $w.zinc -width 500 -height 300 -font $defaultfont -borderwidth 0] \
+ grid [zinc $w.zinc -width 500 -height 300 -render 1 -font $defaultfont -borderwidth 0] \
-row 1 -column 0 -columnspan 2 -sticky news
grid columnconfigure $w 0 -weight 1
grid columnconfigure $w 1 -weight 1