Roassal2: Tree layout set vertical separation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal2: Tree layout set vertical separation

jfabry
Hi all,

quick question: how do I set the vertical separation between nodes in a RTTreeLayout? I have tried verticalGap: and topGap: but it does not make a difference. length: is undefined.

Thanks in advance,

---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal2: Tree layout set vertical separation

abergel
Hi Johan,

I am not sure to understand: verticalGap: and horizontalGap: seems to do the thing no?

Cheers,
Alexandre


On Jun 7, 2014, at 6:10 PM, Johan Fabry <[hidden email]> wrote:

Hi all,

quick question: how do I set the vertical separation between nodes in a RTTreeLayout? I have tried verticalGap: and topGap: but it does not make a difference. length: is undefined.

Thanks in advance,

---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Roassal2: Tree layout set vertical separation

jfabry
Thanks for the example. I found my problem, it’s solved now. This leaves me with the question: why does

RTTreeLayout new
        verticalGap: 50;
        on: mashapes edges: edges.

not produce the same result as

RTTreeLayout new
        on: mashapes edges: edges;
        verticalGap: 50.

? I of course had the second case, so nothing happened. :-(

On Jun 8, 2014, at 11:43 AM, Alexandre Bergel <[hidden email]> wrote:

> Hi Johan,
>
> I am not sure to understand: verticalGap: and horizontalGap: seems to do the thing no?
>
> Cheers,
> Alexandre



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev