Original Poster
Impact: Medium
Frequency: Constantly
Date First Experienced: Assume since the release of UICorners | Not personal experience
Date Last Experienced: Just now
Reproduction Steps:
Execute this script in your Cmd Bar
local NewInstance = Instance.new("ScreenGui")
NewInstance.Name = "Testing UI"
NewInstance.Parent = game.StarterGui
local ImageFrame = Instance.new("ImageLabel")
ImageFrame.Name = "UICornerImageFrame"
ImageFrame.Parent = NewInstance
ImageFrame.BackgroundTransparency = 1
ImageFrame.Image = "http://www.roblox.com/asset/?id=1137715381"
ImageFrame.Size = UDim2.fromScale(0.3, 0.3)
ImageFrame.ScaleType = Enum.ScaleType.Slice
ImageFrame.SliceCenter = Rect.new(0, 10, 20, 50)
local UICorner = Instance.new("UICorner")
UICorner.Parent = ImageFrame
Expected Behaviour
The UI Frame would have each Corner Displayed on the 4 Corners as shown
Actual Behaviour
Corners are Created for Each Slice resulting in Odd behavior in the UIFrame.
UICornerMessedBug.rbxm
1 Like
Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up when we have an update for you.
2 Likes
Hi, thanks for the report. From the image you are showing, it looks like you are using 9-slices along with uicorner, which is not currently supported. We suggest you use one over another.
You can check about the post over here:
What is UICorner?
UICorner is a UIComponent that will apply deformation to shapes of corners of its parent GuiObject.
Input will be clipped to the round corner area, while we don’t clip descendants to the round corner area.
How do I use it?
To enable the beta feature:
Go to File - Beta Features in studio
Check the box before UICorner Beta
[Screen Shot 2020-06-12 at 1.15.53 PM]
Restart studio
To use the new UICorner UIComponent:
Create a Frame / ImageLabel / ImageButton / TextLabel / T…
3 Likes
system
(system)
Closed
October 25, 2022, 10:18pm
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.