iBrandyn
|
  |
| Joined: 30 May 2013 |
| Total Posts: 1699 |
|
|
| 20 Jun 2014 02:40 AM |
Hello,
I am having trouble resizing GUI to fit my needs. I have read the wiki and I do not fully understand how to use the UDim2.new to manipulate the GUI based on my needs
What I need to do is:
I need to create a line on the screen that goes from the left all the way to the right with no gaps (like a stripe) with equal space on the top and on the bottom.
How do I do this? I've tried but I end up messing up the GUI. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 20 Jun 2014 02:46 AM |
You only want to use the first number in the respective brackets.
Something like
Size: {1,0},{.05,0}
This will fill 1 across the x axis (left to right) and 0.05 of the y axis (up and down). |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2014 03:09 AM |
I've coded something like this with surfacegui.
Example like: while true do script.Parent.SurfaceGui.Frame.Size = Udim2.new(0,500,0,600) wait(0.2) script.Parent.SurfaceGui.Frame.Size = Udim2.new(0,600,0,600) wait(0.2) end
I just rotate the brick either horizontally or vertically on which way you want in to go.
Horizontally: Left to Right Vertically: Bottom to Up
You just got Quarter-Term'd |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|
|
| 20 Jun 2014 05:01 AM |
offset is cool if you know how to use it nob ok? kthx |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2014 05:47 AM |
offset = incompability nuff said
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 20 Jun 2014 05:57 AM |
| Narb u know nothing get out |
|
|
| Report Abuse |
|
|