Issue with UI scaling with 1px borders

I’m creating a inventory UI right now for my game, and I really dig having just the 1 pixel black border behind buttons, frames, ect.

Although I have everything’s size set to scale and the main frame has a UIAspectRatioConstraint, when I change to different screen sizes part of the border goes missing.

What’s happening: (If you don’t see what’s happening look at the top of the border for the equipment and pets buttons, its kind of hard to see)

2f421a815adacb83e84c45104191823c

This also happens when I just play the game normally not in studio:

I’ve been looking through posts but I just for the life of me can’t figure out what’s going on here.

Does anyone know what’s happening and what I can do to fix this? Thanks.

2 Likes