diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2003-05-21 15:30:59 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2003-05-21 15:30:59 (GMT) |
commit | f6dcc514a9f2bd4216bf0b06c5c4978b5c43db08 (patch) | |
tree | 011b9df6bf2b13e6af3da7a024567e6129761a4b /tests/panedwindow.test | |
parent | eac86bde53ac38f89e931c94f7162c35fb69b874 (diff) | |
download | tk-f6dcc514a9f2bd4216bf0b06c5c4978b5c43db08.zip tk-f6dcc514a9f2bd4216bf0b06c5c4978b5c43db08.tar.gz tk-f6dcc514a9f2bd4216bf0b06c5c4978b5c43db08.tar.bz2 |
The panedwindow widget now sizes right around unmapped windows. [Bug 738143]
Diffstat (limited to 'tests/panedwindow.test')
-rw-r--r-- | tests/panedwindow.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test index 0da6bbc..70e0e7c 100644 --- a/tests/panedwindow.test +++ b/tests/panedwindow.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: panedwindow.test,v 1.9 2003/04/01 21:06:49 dgp Exp $ +# RCS: @(#) $Id: panedwindow.test,v 1.10 2003/05/21 15:31:01 dkf Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -1883,6 +1883,16 @@ test panedwindow-23.1 {PanedWindowReqProc, react to slave geometry changes} { destroy .p .f1 .f2 set result } {40 80} +test panedwindow-23.2 {PanedWindowReqProc, react to slave geometry changes} { + panedwindow .p -orient horizontal -sashpad 0 -sashwidth 2 + .p add [frame .f1 -width 10] [frame .f2 -width 10] + set result [winfo reqwidth .p] + .f1 configure -width 20 + lappend result [winfo reqwidth .p] + destroy .p .f1 .f2 + set result +} {32 42} + test panedwindow-24.1 {ConfigurePanes, can't add panedwindow to itself} { panedwindow .p |