summaryrefslogtreecommitdiffstats
path: root/library/demos/entry1.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/entry1.tcl')
-rw-r--r--library/demos/entry1.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/entry1.tcl b/library/demos/entry1.tcl
index 7365fc7..f41c2ab 100644
--- a/library/demos/entry1.tcl
+++ b/library/demos/entry1.tcl
@@ -25,8 +25,8 @@ pack $btns -side bottom -fill x
entry $w.e1
entry $w.e2
-entry $w.e3
-pack $w.e1 $w.e2 $w.e3 -side top -pady 5 -padx 10 -fill x
+entry $w.e3 -placeholder {Enter text here} -placeholderforeground gray75
+pack $w.e1 $w.e2 $w.e3 -side top -pady 3p -padx 7.5p -fill x
$w.e1 insert 0 "Initial value"
$w.e2 insert end "This entry contains a long value, much too long "