-
July 16th, 2007, 04:23 #1
Underlining text on a character sheet.
Anyone know if it's possible to underline text used in a stringcontrol?
Such as this:
Code:<stringcontrol name="fatigue"> <anchored> <to>healthframe</to> <position>insidetop</position> <offset>-40,30</offset> </anchored> <font>sheetlabelsmall</font> <static>FATIGUE</static> </stringcontrol>
Last edited by tdwyer11b; July 16th, 2007 at 04:37.
Alea Iacta Est
The Die is Cast!
-
July 16th, 2007, 04:50 #2
Not sure if theres an xml construct to enable it ... cant see one in the documentation though there is an "underlineoffset" tag.
I guess you have to enable it in script like so:
Code:<stringcontrol name="fatigue"> <anchored><to>healthframe</to> <position>insidetop</position> <offset>-40,30</offset> </anchored> <font>sheetlabelsmall</font> <static>FATIGUE</static> <script> function onInit() setUnderline(true); end </script> </stringcontrol>
If that doesn't work then try <underline>true</underline> or <underline>on</underline>
If they don't work then try the script...Last edited by Toadwart; July 16th, 2007 at 04:55.
Work Less, Game More!
-
July 16th, 2007, 05:07 #3
You could also do this with a frame that has an underline on it. Look at the textlistitemvalue template in the charsheet_templates.xml. It just uses a frame called textline that puts a line under the text.
-
July 16th, 2007, 06:27 #4
Two frames exist for this: textline and textlinesmall. I think the former is used on the d20 Notes tab, and the latter on the Skills tab.
Stuart
(Foen)
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks