Thread: number_column width
-
March 22nd, 2025, 19:45 #1
number_column width
In an XML file for a form I see:
Code:<label_column name="label_mass"> <static textres="ref_label_mass" /> </label_column> <number_column name="mass"> <readonly /> </number_column>
Last edited by Stargrove; March 22nd, 2025 at 19:49.
-
March 22nd, 2025, 20:14 #2
Not sure I understand the question.
If this helps, a table in a story has the following XML to define it's width. Note that it is a weight and not a number of pixels or window percentage.
<encounter>
<id-00001>
<name type="string">Story Table</name>
<text type="formattedtext">
<table>
<tr>
<td>Column 1</td>
<td colspan="2">Double Wide</td>
</tr>
</table>
</text>
</id-00001>
</encounter>
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
March 22nd, 2025, 20:45 #3
I'm sorry. I am toying around with a form in a ruleset. I think I found my answer, but it took some digging through the files to find the right place to make the change so I cold set the size of the field.
This is the XML where the label and field are defined on a form for equipment:
Code:<label_column name="mass_label"> <static textres="item_label_mass" /> </label_column> <number_columnh name="mass" />
I changed the XML to this:
Code:<label_column name="mass_label"> <static textres="item_label_mass" /> </label_column> <number_columnh name="mass" /> <anchored> <size> <width>80</width> </size> </anchored> <readonly /> </number_columnh>
I have attached before and after of what I was trying to do.
-
March 22nd, 2025, 23:33 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 22,024
Just pushed a new version of MGT2 ruleset to beta Test channel with Mass field width increased by 50% (40->60).
Regards,
JPG
-
March 23rd, 2025, 02:44 #5
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks