summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-03-13 14:18:42 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-03-13 14:18:42 (GMT)
commitf9b69ae4517e10b79f5c174d0b48f5e4d7742fe7 (patch)
tree1257d02f31799c4d6731c6195ab76dd80ab7892d /tests
parent206fc040e132cbb8b7cd5d59bc6695d06afbf9b1 (diff)
downloadtk-f9b69ae4517e10b79f5c174d0b48f5e4d7742fe7.zip
tk-f9b69ae4517e10b79f5c174d0b48f5e4d7742fe7.tar.gz
tk-f9b69ae4517e10b79f5c174d0b48f5e4d7742fe7.tar.bz2
Add minimal test of -justify for ttk::button
Diffstat (limited to 'tests')
-rw-r--r--tests/ttk/ttk.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ttk/ttk.test b/tests/ttk/ttk.test
index 93dba34..6760b80 100644
--- a/tests/ttk/ttk.test
+++ b/tests/ttk/ttk.test
@@ -134,8 +134,8 @@ test ttk-selfdestruct-ok-1 "Intentional self-destruction" -body {
#
# Basic tests.
#
-test ttk-1.1 "Create button" -body {
- pack [ttk::button .t] -expand true -fill both
+test ttk-1.1 "Create multiline button showing justified text" -body {
+ pack [ttk::button .t -text "Hello\nWorld!!" -justify center] -expand true -fill both
update
}