|
arana Newbie
Joined: 06 Feb 2009 Posts: 2
|
Posted: Sun Aug 29, 2010 8:22 am
gauge font color |
how can i change the color of text of a gauge button?
i see some propeerties are editable only using the GUI and not by code, but i dont see any way of changing the font color
sometimes it is hard to read depending on the gauge bar color |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Sun Aug 29, 2010 9:46 am |
have you dried using %ansi(red) or <color red>MXP</color>?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Sun Aug 29, 2010 12:13 pm |
Using the GUI, bring up the gauge in the Package Editor, and click on the "Options" tab at the bottom of the screen. You should see a section on the right side that says Button Options. The middle button, with the letter "A", sets the color for the button text.
You can also bring up the gauge in the Package Editor, click on the "XML" tab at the bottom of the screen, and edit the "textcolor=" option.
I'm not sure how to edit the color in a script, however. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Aug 29, 2010 4:36 pm |
Wrong forum, Hogarius. ;)
You could perhaps tinker with %btncol(), but I don't recall if that function has a foreground/background color distinction like in CMud. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Sun Aug 29, 2010 5:11 pm |
Ack!
|
|
|
|
|
|