From 1d6a2ca5b4916f5d7ebb7b024f55d24ccc2303fb Mon Sep 17 00:00:00 2001 From: fvogel Date: Mon, 13 Mar 2017 14:18:42 +0000 Subject: Add minimal test of -justify for ttk::button --- tests/ttk/ttk.test | 4 ++-- 1 file 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 } -- cgit v0.12