UIStroke weird when scaling on devices

How do I scale a UIStroke on all devices? It wouldn’t work when scaling manually, is there a way to fix this?

Normal:
image

Weird:
image

This is because UIStroke uses the pixel count as the size; similar as a UI element’s offset property in UDim2 size

Is there a way to fix this? I couldn’t find a way to fix this

Unfortunately, there is no determined way to “fix” this unless you can change the thickness every time the viewpoint size updates

Thickness = ThicknessScale * (some viewpoint magnitude idk)