TALES of the VALIANT
  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; Today 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

Thread Information

Users Browsing this Thread

There are currently 6 users browsing this thread. (0 members and 6 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
  •  
Cosmere RPG Beta Launch

Log in

Log in