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)
commit1d6a2ca5b4916f5d7ebb7b024f55d24ccc2303fb (patch)
tree1257d02f31799c4d6731c6195ab76dd80ab7892d /tests
parentf3cb1aadffad99fd9e2e5ecf33afefceb2b4efe1 (diff)
downloadtk-1d6a2ca5b4916f5d7ebb7b024f55d24ccc2303fb.zip
tk-1d6a2ca5b4916f5d7ebb7b024f55d24ccc2303fb.tar.gz
tk-1d6a2ca5b4916f5d7ebb7b024f55d24ccc2303fb.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
}