On 10-07-15 14:34, marcel.taeumel wrote:
> Yes, proportional layouts are difficult to update when dropping an object
> into the hierarchy. If you take a look at how proportional splitters work,
> you can see that they tweak the #offset property of the adjacent layout
> frames.
Thanks, I'll take a look.
> There is only the TableLayout left, which fits better for adding morphs into
> the respective container on-the-fly.
>
> You might want to take a look at the layout policy that I use in Vivide:
>
https://github.com/hpi-swa/vivide/tree/master/repository/Vivide.package/ViConstraintLayout.class> (It also needs #boundsInOwner: from
>
https://github.com/hpi-swa/vivide/tree/master/repository/Vivide.package/Morph.extension/instance> but should work in Squeak 4.6 without Vivide.)
That looks like a more workable layoutpolicy. Thanks.
Stephan