PDA

View Full Version : Window Resize Icon Not Working



augustgames
April 29th, 2024, 15:42
I am having a heck of a time figuring out how to get the window resize icon to resize a window. I imported the NPC sample code into Ruleset wizard and I can't see what is different to make it work on that window. Any hints would be appreciated.

Thanks

Moon Wizard
April 29th, 2024, 16:36
The window resize icon does not actually do anything itself; it's just a visual cue of where the bottom-left drag corner is, based on the insideoffset tag of the window frame used.

You need to define sizelimits.dynamic tag for the window, in order to allow resizing. Example:


<sizelimits>
<minimum width="680" height="390" />
<dynamic />
</sizelimits>


The answers above are not specific to RSW, nor am I familiar with or use RSW.

You are best off posting any RSW specific questions/issues in the following thread:
https://www.fantasygrounds.com/forums/showthread.php?61387-Ruleset-Wizard-The-new-Ruleset-development-environment

Regards,
JPG

augustgames
May 1st, 2024, 00:19
Thanks Moon. Will do! I do a lot of work in XML directly. I found it easier for the combat tracker at least.