Its fixed now.
Thanx.
Usman

On Sun, Aug 19, 2012 at 4:02 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Fixed in Roassal 1.94

Alexandre


On Aug 14, 2012, at 8:49 AM, Usman Bhatti <usman.bhatti@gmail.com> wrote:

> Hello all,
>
> I'm having trouble to apply proper layout in popUpView in Roassal. The problem can be seen with the output of the following scripts: both manipulating same entities, the first one drawing entities without popUp (and producing correct layout), the second one is using popUpView (problem with the produced layout):
>
>       myView := ROMondrianViewBuilder new.
>       myView node: 'test' forIt: [
>               myView shape rectangle.
>               myView node: #innerNode forIt: [
>                       myView shape rectangle. myView node: #first forIt: [ myView nodes: #(1 2 3) ].
>                       myView shape rectangle. myView node: #second forIt: [ myView nodes: #(1 2 3) ].
>                       myView shape rectangle. myView node: #third forIt: [ myView nodes: #(1 2 3) ].
>                       myView verticalLineLayout center
>                       ].
>               myView gridLayout
>               ].
>       myView open
>
> ==========================================================
> view := ROMondrianViewBuilder new.
> view shape label.
> view interaction popupView: [ :entity  :myView |
>               myView node: 'test' forIt: [
>               myView shape rectangle.
>               myView node: #innerNode forIt: [
>                       myView shape rectangle. myView node: #first forIt: [ myView nodes: #(1 2 3) ].
>                       myView shape rectangle. myView node: #second forIt: [ myView nodes: #(1 2 3) ].
>                       myView shape rectangle. myView node: #third forIt: [ myView nodes: #(1 2 3) ].
>                       myView verticalLineLayout center
>                       ].
>               myView gridLayout
>               ].
>       ].
> view nodes: #(0 9 8).
> view open
>
> Could you please see if there is a bug or I am doing it wrong?
>
> tx,
> Usman
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev