That is even better!
--
Ricardo Terra
On Thu, Jan 22, 2015 at 11:43 PM, <moose-dev-request(a)iam.unibe.ch> wrote:
Hi!
I have just added RTLabelled>>fontSize:
Check this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.
vv := 10 to: 100 by: 10.
shape := RTEllipse new size: #yourself.
es := shape elementsOn: vv.
v addAll: es.
es @ (RTLabelled new fontSize: #yourself).
RTCircleLayout new radius: 250; on: es.
v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
On Jan 22, 2015, at 12:31 PM, milton mamani
<akevalion(a)gmail.com> wrote:
Try this code:
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
v := RTView new.
box := RTBox elementOn: nil.
v add: box.
label := RTLabelled new text: 'blabla'.
box @ label.
label lbl fontSize: 50.
box trachelShape translateTo: box trachelShape position.
box @ RTDraggable.
v
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
2015-01-22 12:02 GMT-03:00 Ricardo Terra <rterrabh(a)gmail.com>om>:
Hi everyone,
I'm working on a visualization using Roassal where
I created a label for a RTBox:
box @ (RTLabelled new text: (Text fromString: 'blabla')).
It works perfectly, but I'd like to change the font size of
the text. Does anyone know how to do it?
Cheers,
--
Ricardo Terra
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.