-
Yesterday, 03:44 #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>
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.
-
Yesterday, 08:35 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,225
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
-
Yesterday, 22:32 #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 4 users browsing this thread. (0 members and 4 guests)
Bookmarks