D6 FramingLayout bug?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

D6 FramingLayout bug?

Steve Alan Waring
Hi,

Not sure if this is a bug or just a change in the way things work in
D6.

When setting the arrangements of dynamically created subviews, in a
container with a framingLayout manager, D6 changes the offsets of the
framingConstraints.

The problem (or at least my problem) is in
FramingLayout>>arrangementOf:put: I am not sure of the intent of the
changes in this method since D5, but I am wondering if #resize:to:
should only be sent if existing is notNil (and the offsets are not
equal)?

Here is a test case that currently fails:
http://www.stevewaring.net/pac/D6FramingConstraintsTest.zip

It passes if I modify FramingLayout>>arrangementOf:put: to not send
#resize:to:.

Bug or my problem?
Thanks,
Steve
--
Stave Waring