PDA

View Full Version : Theme problem



bwatford
September 1st, 2020, 03:35
I am working on a custom theme for 5e and so far FG Gap was the only theme that I have seen that got rid of the lines on the character sheets etc, that come under all the data fields. Not sure if he just changed its color to appear invisible or managed to remove them.

I am having trouble locating the code to alter to address them.

Any help would be appreciated.

Thanks in advance.

Trenloe
September 1st, 2020, 13:20
Those fields use the stringu (string underline) control template.

This is defined in CoreRPG as follows:

<template name="stringu">
<stringfield>
<font>sheettext</font>
<lineoffset default="on" mergerule="replace">1</lineoffset>
</stringfield>
</template>

If you wanted to completely remove the underline from every place that is used, then you could override the stringu template to remove the lineoffset setting. If you wanted to change just a few fields, replace the stringu template use with simplestring.

bwatford
September 1st, 2020, 15:21
Thanks Trenloe, that did it.