Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 03-24-2012, 09:12 PM   #1
Chakarum
A Shissar Disciple
 
Join Date: Nov 2002
Posts: 133
Interface Author - Click to view interfaces
Default Right align not working?

I'm trying to fix up a UI now that EQ is free to play, but running into an odd problem. Previously, I was able to right align the HP, Mana and End numbers, but now the same code doesn't work (it leaves them left aligned). Here is my code:

Code:
<Label item="IW_Mana"> <ScreenID>ManaNumberLabel</ScreenID> <EQType>128</EQType> <!--<Font>3</Font>--> <RelativePosition>true</RelativePosition> <Location> <X>80</X> <Y>79</Y> </Location> <Size> <CX>100</CX> <CY>14</CY> </Size> <Text>00000 / 00000</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <NoWrap>true</NoWrap> <AlignCenter>false</AlignCenter> <AlignRight>True</AlignRight> <AlignLeft>false</AlignLeft> </Label>


I can position everything where I want it left-aligned, but it looks odd on non-casters since the 0/0 is "floating" in the middle of the pane, instead of moving right like I would expect.

Any ideas?
Chakarum is offline   Reply With Quote
Old 03-24-2012, 10:29 PM   #2
goldbishop
A Treant
 
Join Date: Nov 2011
Posts: 20
Interface Author - Click to view interfaces
Default

AlignLeft is not a valid element.....take AlignCenter out and leave AlignRight in

AlignCenter defaults to False, as well as AlignRight. If you dont specify either of the Elements as true then Left-Align is defaulted.
goldbishop is offline   Reply With Quote
Old 03-25-2012, 12:30 AM   #3
Chakarum
A Shissar Disciple
 
Join Date: Nov 2002
Posts: 133
Interface Author - Click to view interfaces
Default

Interesting. The same file I've been using since... TSS? Oh well, that fixed it. Thanks!

Uploading new version of Cool Inventory now...
Chakarum is offline   Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 08:28 PM.


vBulletin Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© MMOUI / ZAM Network