From: SourceForge.net <no...@so...> - 2004-09-10 21:59:07
|
Bugs item #1019100, was opened at 2004-08-30 07:07 Message generated for change (Comment added) made by hobbs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1019100&group_id=12997 Category: 21. [panedwindow] Group: development: 8.5a2 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Daniel South (wildcard_25) Assigned to: Jeffrey Hobbs (hobbs) Summary: panedwindow-23.2 failure Initial Comment: Tk: v8.5a2 HEAD at 30-08-04 OS: WinXPsp1 Built with makefile.vc using VC7 ==== panedwindow-23.2 PanedWindowReqProc, react to slave geometry changes FAILED ==== Contents of test case: 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 ---- Result was: 26 36 ---- Result should have been (exact matching): 32 42 ==== panedwindow-23.2 FAILED possibly just needs a '-borderwidth 0' option added to .p, as the window does grow by 10 pixels as expected. alternatively, make the expected result 10 and the produced result an expression of 2nd minus 1st ---------------------------------------------------------------------- >Comment By: Jeffrey Hobbs (hobbs) Date: 2004-09-09 23:59 Message: Logged In: YES user_id=72656 fixed with calc. ---------------------------------------------------------------------- Comment By: Daniel South (wildcard_25) Date: 2004-08-30 07:13 Message: Logged In: YES user_id=596509 if '-borderwidth 0' is used result needs to be {22 32} otherwise '-borderwidth 5' gives {32 42} on XP ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1019100&group_id=12997 |