I have been previously working with css and there is a property in that i.e., border-radius
with which i can change the radiuses of all the four sides independently. Now i have started making roblox games and i want to round my GUI elements but i found only one plugin that is roundify which rounds all the four corners equally but i want to round them independently (seperate rounding values for different corners). I searched the property panel also but did not find that. Please can anyone tell me how to change the border-radiuses differently.
Asked
Active
Viewed 901 times
2

Learner
- 77
- 6
2 Answers
2
Take a look at the docs for UICorner.
To use the UICorner UIComponent:
- Create a Frame / ImageLabel / ImageButton /TextLabel / TextButton / ViewpointFrame / etc.
- Insert a UICorner component as its child
- Adjust the round corner radius by changing the CornerRadius property
There are also notes about when to consider using 9-Slice image assets as well.

Kylaaa
- 6,349
- 2
- 16
- 27
1
I think I have used the plugin that you use to roundify the corners, and I looked into how it worked.
What I think is happening here is that the plugin, rather than adding a script, just changed the button to a rounded image.
You would have to find a way to make an image where all corners can be rounded separately, probably with an outside program. From what I see there isn’t really a way to do this with scripts.
Hope this helped.

Buzzyy
- 111
- 14