Starfinder Playlist
  1. #1

    string_labled controls not lining up vertically

    I am trying to override the charsheet_overview windowclass from CoreRPG to add a second string_labeled control next to "name".

    Here is what I currently have defined:

    Code:
        <windowclass name="charsheet_overview" merge="join">
            <sheetdata>
                <string_labeled name="name">
                    <anchored>
                        <right anchor="center" offset="-3" />
                    </anchored>
                </string_labeled>
                <string_labeled name="playbook">
                	<anchored to="overviewframe" position="insidetopright" offset="15,10">
                        <left anchor="center" offset="3" />
                    </anchored>
                    <labelres>char_label_playbook</labelres>
                </string_labeled>
            </sheetdata>
        </windowclass>
    And this is the result:

    charsheet_overview.jpg

    I'm wondering why the control line of the new control is not lining up with the control line for "name", and why the widget text not spaced from the control line the same distance as "name"?
    Last edited by darrenan; Yesterday at 03:50.

  2. #2
    It's because the "name" control has a specified height="20" in the base "charsheet_overview" definition; but your new "playbook" control does not have a height specified. Add height="20" to your anchored tag for the "playbook" control to get them to line up.

    Regards,
    JPG

  3. #3
    ok, I was looking at an old version of that file that didn't have the height specification. Thanks.

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in