UI Stroke has a weird gap


My frame has both a UI corner and a UI stroke. There are gaps on the top corners.
I noticed this occurring very recently, and it has not happened before a few days ago. I’ve searched for a solution but have found nothing.
This issue is seen in many frames throughout many of my games.

Edit: it seems to only occur when the UIStroke has a UIGradient.

Frame.rbxm (12.5 KB)

1 Like

could this be an issue with 9Slice?

I don’t believe so. It’s a regular frame rather than an image label/button.

1 Like

no gaps from my view.

1 Like

Strange. I also noticed that the UIStroke’s thickness can change whether the gaps occur. If your screen size/aspect ratio changes, the gap tends to flicker/appear.

Same thing has happened to me
Screenshot 2025-09-06 103114

1 Like

I did some testing and a quick way to fix the issue is by changing the offset of the UIGradient in the UIStroke.

1 Like

Offset didn’t work for me but changing the rotation by 1 degree worked.

1 Like

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