Option to ignore a gui for automatic sizing

If I want to automatically size a list based on its items I can do that.

Now if I want to add some decoration that scales with the list, perhaps an image design that extends 40 pixels in each direction, I can’t do that. Because the list will change size to try to fit it.

So there should be a toggle on a gui that makes it not affect the parent’s automatic size.

23 Likes

Support!

I wanted to add a drop shadow effect, or outline (not UIStroke though) to my tooltip frame that appears when hovering over stuff for more information on Computer, but decided not to do it because of the added effort I’d have to go through for something like this, which is a tradeoff when it would be nice if this could be included in the engine itself.

Maybe instead, we can have a property which allows one GuiObject to scale based off of another GuiObject, without being in it? So it wouldn’t be affected as a child, but it’ll still scale independently based off of it. Not too sure how well this could work though?

5 Likes

GuiObject relative size constraint - Feature Requests / Engine Features - DevForum | Roblox

1 Like

We currently need to abandon AutomaticSize or use cursed UIPadding hacks to make this work. A property to make a GUI object ignored by the parent’s automatic sizing would be amazing!

3 Likes

Bump. Adding an image overlay over a frame with AutomaticSize is impossible, since if you set the image’s size to (1, 0, 1, 0), it will break the AutomaticSize of the frame.

5 Likes

Bump
Would be really nice to have this in order to add overlays/backdrops.

Bump, no clue why this isn’t already a thing.