Hi Usman!
You indeed bumped into a bug.
Sorry about that, this scenario should be bullet proof.
Can you wait for this week end or beginning of next week?
I will have more time to work on this.
Cheers,
Alexandre
On Aug 14, 2012, at 8:49 AM, Usman Bhatti <usman.bhatti(a)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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.