diff options
author | fvogel <fvogelnew1@free.fr> | 2018-02-11 16:39:24 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-02-11 16:39:24 (GMT) |
commit | b0026c2a710c86d4a65cb3b0447cd04ba32a2b9f (patch) | |
tree | 2a90c132c609a4eb14e429d4ea0b3c0dac28896c /library/demos | |
parent | 7f432a32f25b246f11174a4309f7d608bd560a6b (diff) | |
download | tk-b0026c2a710c86d4a65cb3b0447cd04ba32a2b9f.zip tk-b0026c2a710c86d4a65cb3b0447cd04ba32a2b9f.tar.gz tk-b0026c2a710c86d4a65cb3b0447cd04ba32a2b9f.tar.bz2 |
Remove useless tests entry-10.2 and -10.3 (for ttk::entry) since these did not check anything except visually, which is not checked by tcltest. Instead, add -placeholder option and -placeholderforeground style configuration in the demos.
Diffstat (limited to 'library/demos')
-rw-r--r-- | library/demos/combo.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/demos/combo.tcl b/library/demos/combo.tcl index 8631904..acab497 100644 --- a/library/demos/combo.tcl +++ b/library/demos/combo.tcl @@ -43,7 +43,8 @@ set secondValue unchangable set ozCity Sydney ttk::labelframe $w.c1 -text "Fully Editable" -ttk::combobox $w.c1.c -textvariable firstValue +ttk::combobox $w.c1.c -textvariable firstValue -placeholder {Enter text here} +ttk::style configure TEntry -placeholderforeground gray50 ttk::labelframe $w.c2 -text Disabled ttk::combobox $w.c2.c -textvariable secondValue -state disabled ttk::labelframe $w.c3 -text "Defined List Only" |