Ok, so it looks like shape is now centred on element’s position, and is not originating (top-left corner) from it. So translateTo: moves centre of a shape to the point. Interesting.
Uko
On 03 Jun 2014, at 12:01, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
> Hi,
>
> I’m trying to port rectangle packing layout to roassal 2. And one problem that I’ve encountered was that element now do not understand #bounds. I’ve replaced all #bounds usages with #encompassingRectangle, but in the end layout is broken anyway. Before I start to dig down, maybe there are known changes that can impact layouts?
>
> Uko
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev