Stiki500
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1193 |
|
|
| 26 Sep 2009 02:40 PM |
| I understand the offset property, however. When I try setting the scale of the position to 0.5, on the X and Y axis and the size's scale to 1 and 1. It doens't show up at all, can anyone help explain? |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2009 02:43 PM |
| if the Size's Scale is 1 and 1, then you must put the Position to 0 and 0, the position is where the top left corner is, and the 00 is the top left corner of the screen |
|
|
| Report Abuse |
|
|
Stiki500
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1193 |
|
|
| 26 Sep 2009 02:45 PM |
| But it still doesn't show up, I can see the text but not the entire box. |
|
|
| Report Abuse |
|
|
Stiki500
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1193 |
|
|
| 26 Sep 2009 02:49 PM |
| And no matter what I set the scale to, it doesn't change anything, it only works with Offset for me... |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2009 02:55 PM |
.Size = UDim2.new(1, 0, 1, 0) .Position = UDim2.new(0, 0, 0, 0)
try it (put whatever u need to change before the .s) |
|
|
| Report Abuse |
|
|
Stiki500
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1193 |
|
|
| 26 Sep 2009 02:58 PM |
| Thats what I have done, it just shows up in the corner. I really don't know what is wrong with my computer. |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 26 Sep 2009 03:00 PM |
Ok let me explain. Gui positon always starts at Top Right. If you put the position of 1 it will look like it disappear but in real life its there but only the right side is showing. It hard to see the line because its too small (border line).
You'll see what i mean when you put. 0.8 then make it 0.9 |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
| |
|
Stiki500
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1193 |
|
|
| 26 Sep 2009 03:06 PM |
| Now let me explain. It doen't actually work in my Roblox Studio, I am a decent enough scripter/ programmer to know what you are talking about but the scale option has no effect on the button's position / size! |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 26 Sep 2009 03:07 PM |
@blocco
Sorry typo,
I should get a rest soon. My head is aching. |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2009 03:08 PM |
| did you even try test mode??? ... |
|
|
| Report Abuse |
|
|
Stiki500
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1193 |
|
| |
|
|
| 26 Sep 2009 03:12 PM |
| good news, i'm finally able to open roblox studio, so i'll test it in my place (finally) |
|
|
| Report Abuse |
|
|
Stiki500
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1193 |
|
|
| 26 Sep 2009 03:13 PM |
| How perculiar, it doesn't work while in a frame. But it does outside a frame. |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2009 03:28 PM |
after a little testing (Elol (E is for Evil)) i came to the conclusion that its the way i said, and to have it aligned so it fitx perfectly in the lower right corner, use this
beh = script.Parent--maybe?
beh.Size = UDim2.new(0, 0, 0, 0)--change beh.Position = UDim2.new(1-beh.Size.Y.Scale, 0-beh.Size.Y.Offset, beh.Size.X.Scale, beh.Size.X.Offset) |
|
|
| Report Abuse |
|
|