Font size

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

Font size

Ricardo Terra
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Font size

akevalion
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Font size

Ricardo Terra
In reply to this post by Ricardo Terra
It does work! Thanks a lot Milton.

Cheers,
--
Ricardo Terra

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

Re: Font size

abergel
In reply to this post by akevalion
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 <[hidden email]> 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 <[hidden email]>:
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
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: Font size

Ben Coman
nice.

On Fri, Jan 23, 2015 at 6:43 AM, Alexandre Bergel <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
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



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

Re: Font size

Ricardo Terra
In reply to this post by Ricardo Terra
That is even better!
--
Ricardo Terra

On Thu, Jan 22, 2015 at 11:43 PM, <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
> 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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20150122/f6e8c502/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-01-22 at 7.43.06 PM.png
Type: image/png
Size: 24314 bytes
Desc: not available
URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20150122/f6e8c502/attachment.png>

------------------------------

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

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