View Single Post
  #1  
Old 08-18-2009, 08:30 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
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.
Reply With Quote