• 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

Portal position lineheight

zarlor

Well-known member
This may be more of a Authoring Kit question than a SW one, but when working with character output sheets in the Portal section looking at position I see a line like:
Code:
portal[details].lineheight = 1

The description of that declares "limit our portal height to one line of output". That works great for limiting things to 1 line. But, if I comment the line out, hoping to set no limit at all, only some of my items will print all of their lines of text while others will limit themselves to a single line. On the other hand if I wanted to limit that output so, say, 5 lines of text it looks like everything will either limit itself to 5 lines (what I expected) or it expands itself to 5 lines if it was less than 5 lines (not what I expected at all.)

Is there a better way to deal with variable height lines? The wiki doesn't really seem to cover this too well (or if it does my search-fu is failing me yet again.)
 
Also, figure out how the total height of the element being output is calculated, and make sure you're allowing that to vary.

Also, make sure that the table you're putting these in is set up for variable-height cells.
 
Had the rest of it, I just didn't have anything like that perform portal[details].autoheight part. Replacing the lineheight line with that did the trick. Thanks again!
 
Yeah, but since it's not under the portal context one I just never saw it. I have a real hard time sussing that wiki, I'm sorry to say. Which is probably why I'm not a programmer. Sorry to be such a pain with all of these lately, but I really do appreciate the help.
 
Back
Top