UICorner creates corners in the wrong spots

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

image

Actual Behaviour

Corners are Created for Each Slice resulting in Odd behavior in the UIFrame.

image

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:

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.