Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   Different summary width? (http://forums.wolflair.com/showthread.php?t=60210)

TCArknight February 18th, 2018 08:39 AM

Different summary width?
 
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

TCArknight February 23rd, 2018 07:28 AM

Any help with this? :)

Duggan February 23rd, 2018 07:34 AM

Sorry, no idea. :(

Mathias March 11th, 2018 01:59 PM

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.

TCArknight March 11th, 2018 02:57 PM

Thank you Mathias, that is a big help :)

TCArknight March 11th, 2018 05:09 PM

Well, I think I'm missing something still:
Quote:

<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:
Quote:

The data files could not be loaded due to the following errors:

Tab Panel 'smBasics' - Default width is greater than maximum width

Mathias March 11th, 2018 09:13 PM

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".


All times are GMT -8. The time now is 04:16 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.