AS = AutomaticSize
This is certainly an easy way to create resizable frames because all you’d have to do is change the button’s to follow the mouse and it will resize!
I think there is really weird behavior, intentional or not, but it makes it a little strange to use.
When the parent frame resizes, it doesn’t actually change its size property, which is what should happen IMO. Similar to how the red triangle pops up that says that the size property is controlled by UIAspectRatioConstraint (when added), that should also happen with AS, and the property would become a “read-only” for that state.
Also, a “bug” occurs when using Inset and Middle Borders:
The gray frame should be overlapping the border and staying inside.
Weirdly, this behaves how it INSET should behave. For middle, the box’s rightmost edge should end between the border.
I think a great addition should be allowing UIPadding to add padding between the child and parent borders (only for the directions set because otherwise, it’d bleed over the edge anyway).
Two properties should appear when setting AS to anything but None: Min Size and Max Size. When the child is within the Min Size area, then the frame won’t follow to scale with the child’s position. On the contrary, when the child leaves the Max Size area, then the frame will just say at the Max Size and let the child wander off. (good parenting XD).
I hope I didn’t reiterate what was said in the post but do let me know anyone.
Anyways, thank you for this feature y’all!
Keep it up, Roblox!