I have inserted this example in the chapter, Section 8.1 of Roassal
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Oct 7, 2014, at 11:12 AM, Alexandre Bergel <alexandre.bergel(a)me.com> wrote:
Yes, alignFromLeft: works perfectly with groups.
Check this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
rootClasses := { RTShape . RTLayout . RTBuilder }.
groups := rootClasses collect: [ :cls |
g := RTGroup new.
elements := (RTEllipse new size: 8; color: Color blue) elementsOn: cls
withAllSubclasses.
g addAll: elements.
edges := RTEdgeBuilder new
view: g;
objects: cls withAllSubclasses from: #superclass.
RTForceBasedLayout on: elements edges: edges.
g
].
v := RTView new.
groups do: [ :aGroup | v addAll: aGroup ].
RTVerticalLineLayout on: groups.
TRConstraint alignFromLeft: groups.
v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<Screen Shot 2014-10-07 at 11.11.54 AM.png>
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Oct 6, 2014, at 3:55 PM, Nicolai Hess <nicolaihess(a)web.de> wrote:
I used the
TRConstraint alignFromLeft: group
Don't they work on groups ?
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev