UIStroke does not create uniform borders on elements with a UICorner

UIStroke doesn’t create uniform outlines on any UI element with a UICorner.

Examples:

Especially with <2 stroke thicknesses, the borders are inconsistent. There seems to be some odd anti-aliasing on the straight sides, causing them to appear one or two pixels too wide/thin.

image

Expected behavior (done by using a second frame):

image

This inconsistency also happens in game:

Explorer:
image

Place file with bug:
StrokeExample.rbxl (56.0 KB)

Another place file:
BugExample2.rbxl (56.0 KB)

7 Likes

We’ve filed a ticket to our internal database, and we’ll follow up when we have an update!

Thanks for the report!

1 Like