When I do a MOFixedRectangleShape, I want the rectangle does not grown with its content.
I try to zoom on a DSM, then I have strange thing: fixedRectangle are really fixed -> they do not zoom. It cause some problems in my visaulization (see screenshot) This is before zooming: After zooming: You can reproduce the issue easily: === view shape: (MOFixedRectangleShape new width: 25; height: 25; withBorder; borderColor: Color gray). view nodes:#(1 2 3). === Cheers, --- Jannik Laval _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Consider the script:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= view shape: (MOFixedRectangleShape new width: 25; height: 25; withBorder; borderColor: Color gray). view nodes:#(1 2 3). view shape: (MORectangleShape new width: 25; height: 25; withBorder; borderColor: Color gray). view nodes:#(1 2 3). -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= When you zoom in, you want the three first nodes to have the same size than the three nodes on the right don't you? Just to make sure before to put the hand in the code. Alexandre On 2 Sep 2010, at 09:29, Laval Jannik wrote: > When I do a MOFixedRectangleShape, I want the rectangle does not grown with its content. > > I try to zoom on a DSM, then I have strange thing: fixedRectangle are really fixed -> they do not zoom. > It cause some problems in my visaulization (see screenshot) > > This is before zooming: > <PastedGraphic-1.tiff> > > After zooming: > <PastedGraphic-2.tiff> > > You can reproduce the issue easily: > === > view shape: (MOFixedRectangleShape new > width: 25; height: 25; > withBorder; > borderColor: Color gray). > view nodes:#(1 2 3). > === > > > Cheers, > --- > Jannik Laval > > _______________________________________________ > 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 |
I want the size change.
So, you're right, they should have the same size. I consider FixedRectangle as a rectangle which does not change when I put to much element into it. Thank you Alex, Jannik On Sep 2, 2010, at 15:39 , Alexandre Bergel wrote: > Consider the script: > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > view shape: (MOFixedRectangleShape new > width: 25; height: 25; > withBorder; > borderColor: Color gray). > view nodes:#(1 2 3). > > view shape: (MORectangleShape new > width: 25; height: 25; > withBorder; > borderColor: Color gray). > view nodes:#(1 2 3). > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > When you zoom in, you want the three first nodes to have the same size than the three nodes on the right don't you? > Just to make sure before to put the hand in the code. > > Alexandre > > > On 2 Sep 2010, at 09:29, Laval Jannik wrote: > >> When I do a MOFixedRectangleShape, I want the rectangle does not grown with its content. >> >> I try to zoom on a DSM, then I have strange thing: fixedRectangle are really fixed -> they do not zoom. >> It cause some problems in my visaulization (see screenshot) >> >> This is before zooming: >> <PastedGraphic-1.tiff> >> >> After zooming: >> <PastedGraphic-2.tiff> >> >> You can reproduce the issue easily: >> === >> view shape: (MOFixedRectangleShape new >> width: 25; height: 25; >> withBorder; >> borderColor: Color gray). >> view nodes:#(1 2 3). >> === >> >> >> Cheers, >> --- >> Jannik Laval >> >> _______________________________________________ >> 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 --- Jannik Laval _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Jannik,
The new version of Mondrian solves this problem. I also wrote some tests. Alexandre On 2 Sep 2010, at 09:43, Laval Jannik wrote: > I want the size change. > So, you're right, they should have the same size. > > I consider FixedRectangle as a rectangle which does not change when I put to much element into it. > > Thank you Alex, > Jannik > > > On Sep 2, 2010, at 15:39 , Alexandre Bergel wrote: > >> Consider the script: >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> view shape: (MOFixedRectangleShape new >> width: 25; height: 25; >> withBorder; >> borderColor: Color gray). >> view nodes:#(1 2 3). >> >> view shape: (MORectangleShape new >> width: 25; height: 25; >> withBorder; >> borderColor: Color gray). >> view nodes:#(1 2 3). >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> >> When you zoom in, you want the three first nodes to have the same size than the three nodes on the right don't you? >> Just to make sure before to put the hand in the code. >> >> Alexandre >> >> >> On 2 Sep 2010, at 09:29, Laval Jannik wrote: >> >>> When I do a MOFixedRectangleShape, I want the rectangle does not grown with its content. >>> >>> I try to zoom on a DSM, then I have strange thing: fixedRectangle are really fixed -> they do not zoom. >>> It cause some problems in my visaulization (see screenshot) >>> >>> This is before zooming: >>> <PastedGraphic-1.tiff> >>> >>> After zooming: >>> <PastedGraphic-2.tiff> >>> >>> You can reproduce the issue easily: >>> === >>> view shape: (MOFixedRectangleShape new >>> width: 25; height: 25; >>> withBorder; >>> borderColor: Color gray). >>> view nodes:#(1 2 3). >>> === >>> >>> >>> Cheers, >>> --- >>> Jannik Laval >>> >>> _______________________________________________ >>> 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 > > --- > Jannik Laval > > > _______________________________________________ > 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 |
Thanmk you alex, it works fine.
Cheers, Jannik On Sep 2, 2010, at 20:38 , Alexandre Bergel wrote: > Hi Jannik, > > The new version of Mondrian solves this problem. I also wrote some tests. > > Alexandre > > > On 2 Sep 2010, at 09:43, Laval Jannik wrote: > >> I want the size change. >> So, you're right, they should have the same size. >> >> I consider FixedRectangle as a rectangle which does not change when I put to much element into it. >> >> Thank you Alex, >> Jannik >> >> >> On Sep 2, 2010, at 15:39 , Alexandre Bergel wrote: >> >>> Consider the script: >>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >>> view shape: (MOFixedRectangleShape new >>> width: 25; height: 25; >>> withBorder; >>> borderColor: Color gray). >>> view nodes:#(1 2 3). >>> >>> view shape: (MORectangleShape new >>> width: 25; height: 25; >>> withBorder; >>> borderColor: Color gray). >>> view nodes:#(1 2 3). >>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >>> >>> When you zoom in, you want the three first nodes to have the same size than the three nodes on the right don't you? >>> Just to make sure before to put the hand in the code. >>> >>> Alexandre >>> >>> >>> On 2 Sep 2010, at 09:29, Laval Jannik wrote: >>> >>>> When I do a MOFixedRectangleShape, I want the rectangle does not grown with its content. >>>> >>>> I try to zoom on a DSM, then I have strange thing: fixedRectangle are really fixed -> they do not zoom. >>>> It cause some problems in my visaulization (see screenshot) >>>> >>>> This is before zooming: >>>> <PastedGraphic-1.tiff> >>>> >>>> After zooming: >>>> <PastedGraphic-2.tiff> >>>> >>>> You can reproduce the issue easily: >>>> === >>>> view shape: (MOFixedRectangleShape new >>>> width: 25; height: 25; >>>> withBorder; >>>> borderColor: Color gray). >>>> view nodes:#(1 2 3). >>>> === >>>> >>>> >>>> Cheers, >>>> --- >>>> Jannik Laval >>>> >>>> _______________________________________________ >>>> 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 >> >> --- >> Jannik Laval >> >> >> _______________________________________________ >> 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 --- Jannik Laval _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |