View Single Post
Old 10-08-2008, 02:52 PM   #7
taylor13
A Ghoul
 
Join Date: Oct 2006
Posts: 19
Interface Author - Click to view interfaces
Default

Well, if you can explain it better then have at it.

-

Quote:
If you're not allowing your window to be resized, then you can just use

<RelativePosition>true</RelativePosition>

and then use the static <Location> and <Size> tags to put the graphic at a location of 0,0 with a size matching the entire window, and remain blissfully ignorant about how anchors/offsets work.

EDIT: Actually it's been a while since I've worked on UIs so it might actually be "<AutoStretch>true</AutoStretch>" that determines if it uses the anchors/offsets or the location/size.


You're correct, to do absolute positioning you would use <autostretch>false</autostretch> and then use the normal <size> and <location> elements.

-- Lashden
taylor13 is offline   Reply With Quote