frame sizes
I have a frame in a mod I'm working on. It's set to parent="UIParent"
and has the size set to relative with x="1" and y="1". When I query
GetWidth() and GetHeight() on my frame, it returns 1280 plus a small
fraction for both. Doing the same for UIParent I get the expected
1024 x 768 which is what my current resolution is set to.
Is there a simple way to make sure my frame matches the size and position
of it's parent (in this case UIParent, or possibly WorldFrame)?
|