EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   Right align not working? (http://www.eqinterface.com/forums/showthread.php?t=21163)

Chakarum 03-24-2012 09:12 PM

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?

goldbishop 03-24-2012 10:29 PM

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.

Chakarum 03-25-2012 12:30 AM

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

Uploading new version of Cool Inventory now...


All times are GMT -5. The time now is 06:40 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.