UIStroke appears uneven despite using Scale for Frame size

  1. What do you want to achieve?
    I’m trying to get a consistent and even UIStroke around all sides of my Frame.

  2. What is the issue?
    I’m not using Offset – the Frame is sized purely with Scale, so I expected the UIStroke to be uniform. But it’s still uneven. What’s going on? (UIStroke is at default values)

image

UIStroke’s need an upgrade in my opinion.

I’m not sure how to fix your issue but I’d just like to add to this and say they should probably make UI stroke’s scalable without requring a script to make them scalable (if there isn’t already a way… maybe I’m dumb)

But to try help you, is UI clipping disabled, is a parent frame clipping it?

Yeah, agreed – UIStroke could definitely use some upgrades.
I’m not using any scripts to scale it, just relying on default behavior.
As for ClipsDescendants, I double-checked and it’s disabled on both the Frame and its parents.
Still looks weirdly uneven. Might be a rendering quirk?

Do you have Device Test mode activated? I find that UIStrokes render slightly uneven when emulating different screen resolutions within studio. Specifically when you have “fit to window” on, as studio is actively trying to convert one screen size to another, it confuses UIStroke by 1 pixel in some cases.

But fear not, the UIStroke is actually fine when playing at your native resolution.

2 Likes

Yes, that’s probably it, thanks for the help

1 Like

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