-
April 21st, 2025, 21:58 #1
Adding a Blank Horizontal Space in a Window
I've been recently making edits to record_vehichle.XML in CoreRPG, in order to make it properly support the Fate Core edition of Interface Zero. I've mostly just changed the exiting fields and added 2 more. The biggest change was I added a stress track with variable number of check boxes, by copying the scripted technique used for the Fate Core Character sheet. I'm currently in the process of writing it into an extension.
This is the original window:
Old-Vehicle-Window.jpgLast edited by kronovan; April 21st, 2025 at 22:01.
-
April 21st, 2025, 22:02 #2
...This is my changed window:
New-Vehicle-Window.jpg
The only additional change I want to make to the new window, is adding a "Systems" lable under the Stress track, but for the love of it I can't figure out how to do that - embarrasing.
If I add a label_column block
just before the <ft_columnh name=notes /> in the record_vehicle.xml file,
the "Systems" text is positioned in the notes window and is overwritten by the notes text in the 1st line.
I know this is simple, but I suck at XML.So I'm hoping someone here can give me an example of XML that would do it.
And speaking of XML...does FGU use the global standard for it? I've noted here & there on the Internet that some apps have a custom/proprietary implimentation of XML, so I'm not sure if FGU does too? I ask, because I'd be more than happy to buy a good book on XML, but I'm not sure a common XML guide would be applicable.
Any help with this would be much appreciated.
-
April 21st, 2025, 22:03 #3
the template sub_content_column will add a new subwindow space. Other layout controls can be seen in the layout folder in CoreRPG
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
April 26th, 2025, 21:56 #4
Thanks for the suggestion Superteddy.
While I can find the sub_content_column template in the template_layout_content_column.xml file, I can't figure out how to use it. I've made many attempts to unravel the mysteries of it, but have sadly failed in every attempt. Although I did learn how to correctly set an anchor_cotent_top in the record_vehicle.xml file.
Would it be possible to give an example of how your would use it to put a text label alone on the 10th line within a sheetdata block?
-
April 26th, 2025, 22:00 #5
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 22,279
Try looking at a couple examples in the build-in rulesets:
CoreRPG - <windowclass name="location_main">
or
5E - <windowclass name="reference_race_main_2024">
Regards,
JPG
-
April 26th, 2025, 22:08 #6
-
April 26th, 2025, 23:55 #7
There wasn't code for sub_content_column in the <windowclass name="location_main"> in CoreRPG's record_location.xml, but there was in the <windowclass name="reference_race_main"> block in 5e's record_race.xml file. The technique in that 5e file didn't work for me, but I got a blank space on the CoreRPGs Vehicle windows [Main] tab with this code...
<sub_content_column name="sub_content" />
<label_column>
<anchored to= "sub_content" ></label_column>
<top relation="relative" /></anchored>
I don't know if I did that in the most optimal way, but it works.
Thanks Moon Wizard for pointing me in the rigth direction.
-
April 27th, 2025, 00:21 #8
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 22,279
In the case you are showing I would actually use:
Code:<header_content_framed_headersimple name="systems_header"> <static textres="header_systems" /> </header_content_framed_headersimple>
then use area_content_top with <anchored height="20" /> (or similar size) and anchor any controls to that.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks