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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 <[hidden email]> 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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Usman Bhatti
Fixed in Roassal 1.94
Alexandre On Aug 14, 2012, at 8:49 AM, Usman Bhatti <[hidden email]> 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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Its fixed now.
Thanx. Usman
On Sun, Aug 19, 2012 at 4:02 PM, Alexandre Bergel <[hidden email]> wrote: Fixed in Roassal 1.94 _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |