Larger fonts in DistributionMaps

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

Larger fonts in DistributionMaps

Mariano Martinez Peck
Hi. I need to have larger fonts for the legends of a DistributionMap. For example, in the attached screenshot I would like to use bigger fonts for the properties and for the packages names.

Is that possible?  I surf a little the code but I didn't find anything.

Thanks in advance,

Mariano

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

Screen shot 2010-11-03 at 3.02.52 PM.png (57K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Larger fonts in DistributionMaps

Mariano Martinez Peck
ok, I found it. I need to modify two places:

AbstractDistributionMap >> renderOn: viewthis:

    view
                nodes: nodes
                forEach: [ :node |
                    (view shape label)
                        withoutBorder;
                        fontSize: 7.
                    view node: node name.

to

    view
                nodes: nodes
                forEach: [ :node |
                    (view shape label)
                        withoutBorder;
                        fontSize: 12.
                    view node: node name.


And DistributionMap >> renderLegendOn: view

this:
            view shape label.

to:

view shape label fontSize: 12.


so....I would like to automatically use the font size I defined in the settings. I will look how to do that.

cheers

mariano

On Wed, Nov 3, 2010 at 3:04 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi. I need to have larger fonts for the legends of a DistributionMap. For example, in the attached screenshot I would like to use bigger fonts for the properties and for the packages names.

Is that possible?  I surf a little the code but I didn't find anything.

Thanks in advance,

Mariano


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