Very nice, thank you!

On 03 Jun 2014, at 15:08, Leo Perard <leo.perard@gmail.com> wrote:

I think RTLayout has a instance variable translator and you can send the message #translateTopLeftOf: anElement to: aPoint.
Maybe it can help you


On Tue, Jun 3, 2014 at 11:17 AM, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
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



--
Cheers,
Leo Perard
University of Lille 1
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev