PolluxTroy
June 15th, 2017, 13:39
Hi, I'ts me, again :/
After days of fails trying to create a custom PC charsheet, i'm stuck on this :
On the Abilities page on the charsheet, i have 4 frame containing : Traits, Abilities, Proficiency, Feats.
I'm able to make the sheet resizable, but i can't find how to make each frame dynamically resizable.
The only thing i was abble to do at this time is :
- Top Left Frame : Resizable Vertically
- Top Right Frame : Resizable Horizontally/Vertically
- Bottom Left : Nothing
- Bottom Right : Resizable Horizontally
Can someone help me to understand how to do that ? Thanks a lot.
I'd like to have 4 frame with same size, but that they resize dynamically with the charsheet, all the same way.
Sorry for my english if you d'ont understand ;)
I'm working on this part of the xml code for positionning :
<sheetdata>
<frame_char name="featframe">
<bounds>255,-225,-25,225</bounds>
</frame_char>
<label_frametop>
<anchored to="featframe" />
<static textres="char_label_feats" />
</label_frametop>
<list_charabilities name="feats">
<anchored to="featframe" />
<datasource>.featlist</datasource>
<class>char_ability_feat</class>
</list_charabilities>
<scrollbar>
<anchored to="feats" />
<target>feats</target>
</scrollbar>
<button_iedit name="feats_iedit">
<anchored to="feats" position="aboveright" offset="5,5" />
<target>feats</target>
</button_iedit>
<button_iadd name="feats_iadd">
<anchored to="feats" position="aboveleft" offset="5,5" />
<target>feats</target>
</button_iadd>
<frame_char name="specialabilityframe">
<bounds>255,0,-25,-225</bounds>
</frame_char>
<label_frametop>
<anchored to="specialabilityframe" />
<static textres="char_label_sa" />
</label_frametop>
<list_charabilities name="specialabilities">
<anchored to="specialabilityframe" />
<datasource>.specialabilitylist</datasource>
<class>char_ability_class</class>
</list_charabilities>
<scrollbar>
<anchored to="specialabilities" />
<target>specialabilities</target>
</scrollbar>
<button_iedit name="specialabilities_iedit">
<anchored to="specialabilities" position="aboveright" offset="5,5" />
<target>specialabilities</target>
</button_iedit>
<button_iadd name="specialabilities_iadd">
<anchored to="specialabilities" position="aboveleft" offset="5,5" />
<target>specialabilities</target>
</button_iadd>
<frame_char name="proficiencyframe">
<bounds>15,-225,240,225</bounds>
</frame_char>
<label_frametop>
<anchored to="proficiencyframe" />
<static textres="char_label_proficiencies" />
</label_frametop>
<list_charabilities name="proficiencies">
<anchored to="proficiencyframe" />
<datasource>.proficiencylist</datasource>
<class>char_ability_proficiency</class>
</list_charabilities>
<scrollbar>
<anchored to="proficiencies" />
<target>proficiencies</target>
</scrollbar>
<button_iedit name="proficiencies_iedit">
<anchored to="proficiencies" position="aboveright" offset="5,5" />
<target>proficiencies</target>
</button_iedit>
<button_iadd name="proficiencies_iadd">
<anchored to="proficiencies" position="aboveleft" offset="5,5" />
<target>proficiencies</target>
</button_iadd>
<frame_char name="traitframe">
<bounds>15,0,240,-225</bounds>
</frame_char>
<label_frametop>
<anchored to="traitframe" />
<static textres="char_label_traits" />
</label_frametop>
<list_charabilities name="traits">
<anchored to="traitframe" />
<datasource>.traitlist</datasource>
<class>char_ability_race</class>
</list_charabilities>
<scrollbar>
<anchored to="traits" />
<target>traits</target>
</scrollbar>
<button_iedit name="traits_iedit">
<anchored to="traits" position="aboveright" offset="5,5" />
<target>traits</target>
</button_iedit>
<button_iadd name="traits_iadd">
<anchored to="traits" position="aboveleft" offset="5,5" />
<target>traits</target>
</button_iadd>
</sheetdata>
After days of fails trying to create a custom PC charsheet, i'm stuck on this :
On the Abilities page on the charsheet, i have 4 frame containing : Traits, Abilities, Proficiency, Feats.
I'm able to make the sheet resizable, but i can't find how to make each frame dynamically resizable.
The only thing i was abble to do at this time is :
- Top Left Frame : Resizable Vertically
- Top Right Frame : Resizable Horizontally/Vertically
- Bottom Left : Nothing
- Bottom Right : Resizable Horizontally
Can someone help me to understand how to do that ? Thanks a lot.
I'd like to have 4 frame with same size, but that they resize dynamically with the charsheet, all the same way.
Sorry for my english if you d'ont understand ;)
I'm working on this part of the xml code for positionning :
<sheetdata>
<frame_char name="featframe">
<bounds>255,-225,-25,225</bounds>
</frame_char>
<label_frametop>
<anchored to="featframe" />
<static textres="char_label_feats" />
</label_frametop>
<list_charabilities name="feats">
<anchored to="featframe" />
<datasource>.featlist</datasource>
<class>char_ability_feat</class>
</list_charabilities>
<scrollbar>
<anchored to="feats" />
<target>feats</target>
</scrollbar>
<button_iedit name="feats_iedit">
<anchored to="feats" position="aboveright" offset="5,5" />
<target>feats</target>
</button_iedit>
<button_iadd name="feats_iadd">
<anchored to="feats" position="aboveleft" offset="5,5" />
<target>feats</target>
</button_iadd>
<frame_char name="specialabilityframe">
<bounds>255,0,-25,-225</bounds>
</frame_char>
<label_frametop>
<anchored to="specialabilityframe" />
<static textres="char_label_sa" />
</label_frametop>
<list_charabilities name="specialabilities">
<anchored to="specialabilityframe" />
<datasource>.specialabilitylist</datasource>
<class>char_ability_class</class>
</list_charabilities>
<scrollbar>
<anchored to="specialabilities" />
<target>specialabilities</target>
</scrollbar>
<button_iedit name="specialabilities_iedit">
<anchored to="specialabilities" position="aboveright" offset="5,5" />
<target>specialabilities</target>
</button_iedit>
<button_iadd name="specialabilities_iadd">
<anchored to="specialabilities" position="aboveleft" offset="5,5" />
<target>specialabilities</target>
</button_iadd>
<frame_char name="proficiencyframe">
<bounds>15,-225,240,225</bounds>
</frame_char>
<label_frametop>
<anchored to="proficiencyframe" />
<static textres="char_label_proficiencies" />
</label_frametop>
<list_charabilities name="proficiencies">
<anchored to="proficiencyframe" />
<datasource>.proficiencylist</datasource>
<class>char_ability_proficiency</class>
</list_charabilities>
<scrollbar>
<anchored to="proficiencies" />
<target>proficiencies</target>
</scrollbar>
<button_iedit name="proficiencies_iedit">
<anchored to="proficiencies" position="aboveright" offset="5,5" />
<target>proficiencies</target>
</button_iedit>
<button_iadd name="proficiencies_iadd">
<anchored to="proficiencies" position="aboveleft" offset="5,5" />
<target>proficiencies</target>
</button_iadd>
<frame_char name="traitframe">
<bounds>15,0,240,-225</bounds>
</frame_char>
<label_frametop>
<anchored to="traitframe" />
<static textres="char_label_traits" />
</label_frametop>
<list_charabilities name="traits">
<anchored to="traitframe" />
<datasource>.traitlist</datasource>
<class>char_ability_race</class>
</list_charabilities>
<scrollbar>
<anchored to="traits" />
<target>traits</target>
</scrollbar>
<button_iedit name="traits_iedit">
<anchored to="traits" position="aboveright" offset="5,5" />
<target>traits</target>
</button_iedit>
<button_iadd name="traits_iadd">
<anchored to="traits" position="aboveleft" offset="5,5" />
<target>traits</target>
</button_iadd>
</sheetdata>