The thickness of a UIStroke is based on offset, which essentially equals pixels on the screen. Mobile devices often have fewer pixels, resulting in thinner or sometimes invisible strokes on smaller screens
Do you know a way to fix this?
can you show me, how you want it to be?
Can you send me a file of ur ui?
i missunderstood at the begining
do you need more things?
try removing the ui aspect ratio and use scale instead
can you send me a file of your ui?
oh like a roblox file? sure give me a second
btw here is the result: (kinda looks the same as before)
Don’t remove the UI Aspect Ratio. Instead insert a UI Aspect Ratio into the UI stroke and customize it to your desired representation.
It’s just how Roblox designed it, unfortunately. That said, you can use this: UIStrokeAdjuster - Properly scale your UIStrokes!
Edit: looking at the person’s code, the thing that actually matters is accounting for the screen ratio, which is also what the ‘UI Aspect Ratio Constraint’ does. This works for ScreenGuis but not Billboard GUIs, so they also accounted for distance for that. In short, either adding the constraint or the resource should work.
Hmmm I should try that, I tried something like that before but I guess it was not made well because it still had problems
i just remade your UI in my own project and i think i know what the problem is
Change “BorderSizePixel” to 0
it is at zero already, I think this is a roblox issue so I will try the module @Reditect was talking about
Insert a UIAC into the Stroke, Image, label, etc… and frame and it should work
Then test it out on different devices using the Test tab and going to devices. just tested
Yeah that made it better but you can still see a problem with the stroke