
08-18-2009, 08:30 AM
|
Kevin Azite
|
 |
Join Date: Sep 2005
Posts: 1,489
|
|
GuiControl - Anchors
It would be useful to add predefined anchors to GuiControls and allow the x and y positions to the offset from the anchor position.
Ideal anchor locations would be top left, top, top right, right, bottom right, bottom, bottom left, left, center.
I know such functionality could be added by using screenwidth and screenheight, but it would be nice to see it added to the game.
Additionally, if the anchor is say, bottom right, the bottom right corner of the GuiControl should touch the bottom right corner of the screen, rather than the top left touching, at x = 0, y = 0. |
|
|