summaryrefslogtreecommitdiffstats
path: root/tests/ttk/combobox.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-18 13:15:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-18 13:15:42 (GMT)
commite977448fa4e13fe1d4f2c0c6772ab1006e3f94a3 (patch)
treededb903cbf1a662634ff85b7a9bddca70886e171 /tests/ttk/combobox.test
parent7e6a8b0a249f5e75c648e579156e3b30c8866eeb (diff)
parent690db09c143da53cd3adebb52f8eac12db5c767c (diff)
downloadtk-e977448fa4e13fe1d4f2c0c6772ab1006e3f94a3.zip
tk-e977448fa4e13fe1d4f2c0c6772ab1006e3f94a3.tar.gz
tk-e977448fa4e13fe1d4f2c0c6772ab1006e3f94a3.tar.bz2
Fix [f60c54bec69540893fccfd2b4021b91b4321cf61|f60c54bec6]: Combobox does not retrieve -postoffset value from correct style
Diffstat (limited to 'tests/ttk/combobox.test')
-rw-r--r--tests/ttk/combobox.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ttk/combobox.test b/tests/ttk/combobox.test
index 43f3cf1..35ded6c 100644
--- a/tests/ttk/combobox.test
+++ b/tests/ttk/combobox.test
@@ -45,6 +45,15 @@ test combobox-2.4 "current -- value not in list" -body {
test combobox-2.end "Cleanup" -body { destroy .cb }
+test combobox-3 "Read postoffset value dynamically from current style" -constraints unix -body {
+ ttk::combobox .cb -values [list a b c] -style "DerivedStyle.TCombobox"
+ pack .cb -expand true -fill both
+ ttk::style configure DerivedStyle.TCombobox -postoffset [list 25 0 0 0]
+ ttk::combobox::Post .cb
+ winfo x .cb.popdown
+} -result 25 -cleanup {
+ destroy .cb
+}
test combobox-1890211 "ComboboxSelected event after listbox unposted" -body {
# whitebox test...