dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 18 Aug 2013 10:59 AM |
Hello, GUI positioning has always been my enemy. How can I place a GUI frame with the size of {0, 140}, {0, 110} in the bottom right corner of every screen without variations in screen size?
~Keep the Earth below my feet.~ |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2013 11:04 AM |
i think its {0.850000024, 0}, {0.810000002, 0}
if not, mess with it a bit >using decimals< |
|
|
| Report Abuse |
|
|
dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 18 Aug 2013 11:04 AM |
Bumo
~Keep the Earth below my feet.~ |
|
|
| Report Abuse |
|
|
dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 18 Aug 2013 11:06 AM |
othx... I shall try...
Yes, this seems about right
May I ask how you calculated it?
~Keep the Earth below my feet.~ |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2013 11:10 AM |
nvm, {0.835000038, 0}, {0.805000186, 0} is better than my last position
all i did was change the decimal to random numbers around the end, like {0.8, 0}, {0.8, 0} then i just messed with the numbers a bit |
|
|
| Report Abuse |
|
|
dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 18 Aug 2013 11:11 AM |
Alright, thanks a lot.
~Keep the Earth below my feet.~ |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2013 11:11 AM |
{1,-( 140)}{1, -(110)}
so {1,- gui.Size.Offset.X}{1,-gui.Size.Offset.Y} |
|
|
| Report Abuse |
|
|
dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 18 Aug 2013 11:20 AM |
Thanks eXo, this is much more useful :D
So, just for future knowledge...
How would I center it? Top right? Bottom Left?
~Keep the Earth below my feet.~ |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2013 11:25 AM |
Center = {0.5,-(140/2)} {0.5,-(110/2)}
Top right is the same as bottom but without the 1 on the Scale Y part, and bottom left is without the 1 on the Scale X part. |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2013 11:26 AM |
| So if instead of 1 just put 0 and it won't move it except for the Offset which is it's size so it's visible. |
|
|
| Report Abuse |
|
|
dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 18 Aug 2013 11:34 AM |
Thank you so much. I've always hated fiddling with GUIs
~Keep the Earth below my feet.~ |
|
|
| Report Abuse |
|
|