• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Different summary width?

TCArknight

Well-known member
What controls the width of the summary tabs?

I know the default min and max are set in the definition.def file, but in this case I want to have one summary tab wider than the others so I can display a large list of skills in two columns.

Is it the layout or the portal size that I would need to adjust? Or even something on the Position script for the panel?

Thanks!
TC
 
In the <structure> element in definition.def, set both a summarymin and summarymax, and make the max at least as big as you want that larger summary panel. A non-standard size for an individual summary panel is set by setting a maxwidth="" value on the <panel> element for that summary panel.
 
Well, I think I'm missing something still:
<structure
folder="mygame"
summarymin="100"
summarymax="300">
</structure>

<panel
id="smBasics"
name="Basics"
order="10010"
marginhorz="2"
marginvert="2"
maxwidth="175"
issummary="yes">
...
I get an error:
The data files could not be loaded due to the following errors:

Tab Panel 'smBasics' - Default width is greater than maximum width
 
Okay, looks like there's a defwidth="" parameter on panels. That defaults to 300, if you don't set something different, so the default with you've set is 300, and the maximum is 175.

Apparently, I was wrong about any oversized summary panels needing to be within the normal range. Pathfinder's summarymin is 120, summarymax = 300, and the statblock summary is maxwidth="500".
 
Back
Top