-
June 16th, 2023, 07:35 #1
- Join Date
- Mar 2009
- Location
- Lidingö, Sweden, Europe
- Posts
- 411
Name the label_frametop in campaign/record_char_inventory.xml?
Would it be possible to set a name to the label_frametop in campaign/record_char_inventory.xml?
Without a name it's not possible to override the label using merge. This is the current setup:
Code:<root> <windowclass name="charsheet_inventory" merge="join"> <sheetdata> <label_frametop> <anchored to="encumbranceframe" offset="0,55" /> <static>Armor</static> </label_frametop> </sheetdata> </windowclass> </root>
Code:<root> <windowclass name="charsheet_inventory" merge="join"> <sheetdata> <label_frametop name="encumbrance_frame_label"> <anchored to="encumbranceframe" offset="0,55" /> <static>Armor</static> </label_frametop> </sheetdata> </windowclass> </root>
Code:<windowclass name="charsheet_inventory" merge="join"> <script file="campaign/scripts/encumberance_penalty.lua" /> <sheetdata> <label_frametop name="encumbrance_frame_label" merge="delete"> <anchored to="encumbranceframe" offset="0,55" /> <static>Armor</static> </label_frametop> <label_frametop name="encumbrance_frame_label_new"> <anchored to="encumbranceframe" /> <static>Encumberance</static> </label_frametop> ...
-
June 16th, 2023, 18:22 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,509
I have no idea why that control is even there (i.e. label with no matching data); so I'm removing that particular override from the ruleset in the next update.
Regards,
JPG
-
June 17th, 2023, 00:07 #3
- Join Date
- Mar 2009
- Location
- Lidingö, Sweden, Europe
- Posts
- 411
OK. Thanks.
Thread Information
Users Browsing this Thread
There are currently 3 users browsing this thread. (0 members and 3 guests)
Bookmarks