Select to view content in your preferred language

Changing color of measurement text in the Draw Widget in 2.5

582
2
Jump to solution
02-14-2012 07:53 AM
GeorgiannaStrode
Deactivated User
Does anyone know how to change the color of the measurement text in the Draw Widget?  It is hard to read small black text labels over an aerial photo.

In v 2.1, I just edited the mxml and changed the color from black.  I'd also like to increase the font size.  But in 2.5 I don't see that code.

Any help is appreciated!
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Georgianna,

   In the 2.5 Draw Widget find the addDrawLabel function.

var txtFormat:TextFormat = new TextFormat("Arial", 12, 0x000000, true); // black label


Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Georgianna,

   In the 2.5 Draw Widget find the addDrawLabel function.

var txtFormat:TextFormat = new TextFormat("Arial", 12, 0x000000, true); // black label


Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
0 Kudos
GeorgiannaStrode
Deactivated User
Beautiful!

Thanks, Robert.
0 Kudos