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
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.