Page 2 of 2 First 12
  1. #11
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    23,146
    Quote Originally Posted by damned View Post
    It's just the merge doesn't really work that well with those relative anchors.
    Yeah, when using merge="join" you'll need to use insertbefore="<control_name>" properties in each control in the new windowclass you're merging with the original if you want them to appear higher up in the relative anchor order and not get placed at the end.

    I haven't tested this, but something like the following should work:

    Code:
    <windowclass name="item_main" merge="join">
    	<script file="campaign/scripts/item_main.lua" />
    	<sheetdata>
    		<label_column name="item_type_label" insertbefore="cost_label">
    			<static textres="item_type_group" />
    		</label_column>
    		<item_cycler name="itemtype" insertbefore="cost_label">
    					<anchored to="item_type_label" position="insidetopleft" offset="100,5" width="100" height="20" />
    		</item_cycler>
    		<line_column name="divider3"  insertbefore="cost_label"/>
    	</sheetdata>
    </windowclass>


    FG Product Development status: Pathfinder Playtest Ruleset and add-ons: In development. Pathfinder Bestiary, Pathfinder Bestiary 2, Pathfinder Bestiary 3 (in store).

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  2. #12
    Thanks Trenloe, I will try this as well.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in