I’m trying to create a GUI element with round corners with a specific shape. Image a 16x4 grid where each corner is rounded (quarter circle) and the rest are completely filled in. I’m making this GUI scale so I can’t use the default 9-slice functionality since that works in pixels and does not scale with other sizes. I’ve decided to use multiple frames to accomplish this, but it ends up looking funny at some sizes.
A size
Smaller
Even smaller, this one happens to be perfect
EVEN smaller
Does anyone have a solution for this?
Just to be clear, there is an image frame for each corner, and 2 frames for the rest. (Horizontally and vertically, though I may change it to 5 frames later because I plan on making this transparent, and overlapping transparent frames will look weird) It’s pretty much a 9-slice, but not Roblox’s build in one since it’s limited to only pixel sizes. All these frames are a child of an invisible frame that has an AspectRatioConstraint with an aspect ratio of 4:1. That frame scales based on screen size, and the corner frame children scale based on that. I’m doing this to have the corners scale with the screen size. I’ve technically already done that, but there seems to be a glitchy pixel offset on some screen sizes.
Explorer Tree
Any help is appreciated.