Hi Volkert,
I worked on the shape and title issue.
Update Roassal and try the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
b := RTMondrianViewBuilder new.
b shape rectangle withTextAbove.
b nodes: RTShape withAllSubclasses forEach: [:cls |
b
shape rectangle color: Color white; size: #numberOfLinesOfCode.
b
nodes: cls methods. b gridLayout ].
b flowLayout.
b build.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I have the impression this will fulfill your need.
Let me know how it goes!
Cheers,
Alexandre
On Nov 22, 2014, at 2:05 PM, volkert@nivoba.de wrote:
Dear Alexandre
Am 19.11.2014 um 18:58 schrieb Alexandre Bergel:
Hi Volkert,
Sorry for replying late. This is a rather busy time for me.
As you have noticed, Roassal2 is not
fully compatible with Roassal1. However, we are here
to help!
view :=
ROMondrianViewBuilder titled: 'asdasd’.
This now works (you need to update Roassal2):
view := RTMondrianViewBuilder titled: 'asdasd’.
Works fine.
view shape
rectangle withText: #shortName; textVerticalPadding: -10; fontSize:
6.
Unfortunately, this is not supported yet.
What you can do is
view shape rectangle width: 50; text: #shortName; fontSize:
6.
view shape rectangle width: 50; text: #shortName; fontSize: 6.
=> MessageNotUnderstood: RTBox>>text:
No text padding for now. Is it okay
however? The idea is to go incrementally.
Make sense, but this is an issue for me. I need a way to give
a node a title.
Here an example how it currently looks like
<Mail
Attachment.png>
view addMenu: 'Zoom in' callBack: [ :stack |
… ].
you can do:
view view addMenu: ‘Zoom in’ callback: [ “do your stuff” ]
Works, but the Menu looks not very appetizing. ;-)
BW,
Volkert
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dieser Nachrichteninhalt wird auf Anfrage komplett heruntergeladen.