PDA

View Full Version : Font color modification



dstuffle
August 20th, 2013, 00:07
Hi folks,

I am trying to darken a font color on the Shadowrun 4 ruleset's character page. Currently, the text color is so ligh it blinds into the blue background color, making it unreadable (may just be my old eyes).

4720

I assumed it would be easy to find in the character sheet xml, but I found nothing. Here is a sample of the xml code for one of the lables (from the charsheet_1_main.xml file):

<string_labeled name="metatype" source="base.metatype">
<anchored>
<to>overviewframe</to>
<position>insidetopleft</position>
<offset>160,10</offset>
<size>
<width>100</width>
<height>20</height>
</size>
</anchored>
<anchorto>overviewframe</anchorto>
<height>20</height>
<label>Metatype</label>
<tabtarget>
<prev>name</prev>
<next>subtype</next>
</tabtarget>
<tooltip>
<text>Metatype (Race) of your Character (Basetype only)</text>
</tooltip>
</string_labeled>


Anyone got some help as to how to change the label's text color?


Thanks.

morgurth
August 20th, 2013, 00:52
Would it be adding in the XML like this? https://www.fantasygrounds.com/refdoc/font.xcp and <font> and <color> under it to change it?

Moon Wizard
August 20th, 2013, 19:08
The labeled_string template in the 3.5E and 4E rulesets uses the defined "sheetlabelinline" font to create the labels under the field, and the color is set to 808080.

To change the color, find the <font name="sheetlabelinline"> definition, and change the value of the color tag to a new RGB value.

Regards,
JPG

dstuffle
August 20th, 2013, 21:15
Thanks, got it done.