A Fire Beetle
Join Date: Jan 2003
Posts: 3
|
Custom UI Questions
I've been working on a custom UI, and I am running into problems, can someone help me.
Problem 1) In my Spell cast XML File, I put in a specific xy of where to draw the box. If my x is anything but 0, it will draw it at like 300.
Workaround is specify the xy in the UI.ini file.
What I would like, is to be able to specify an xy in the Spell_cast xml then a /load skin (no 1) and it be in the exact place. I'd like it x=50, y=0.
Problem 2) In my Container XML, if I draw the Container_Label with an xy that has an x of 0, the Container window will pad the label with 5 pixels of space on the right. If I make the x not 0, the box shrinks to the very end of the last object (with an eqtype) in the window.
Workaround not found yet.
What I would like, is a 5 pixel space, one item(40x40), 5 pixel space, next item(40x40), 5 pixel space. Giving me a container that is 95pixels wide.
Note: I can make the label be 95, but then it pads it out 5px and then is 100, making the rest of the box off center. If I make the label 90, it works, but is off center. If I make the label 85 with 5px left border, the box snaps to the end of the container items.
|