How can I fix things not resizing in UIGridLayouts

Hello! I am having an issue where if I have an UIGrid for TextButtons or anything on that matter, I have a script for when you hover it resizes, but no matter what I do, I can’t get it to resize with anything because it’s in a UIGridLayout, how can I fix this?

Thanks! Any help will be appreciated! :grinning_face_with_smiling_eyes:

If anyone knows, any help will be appreciated!

You’d have to manually set the size and position of the UI objects since you can’t manipulate the position or size of anything affected by a UIGridLayout.

Can you give an example of what you mean? I don’t think I understand.

Use a UIListLayout instead, it only affects the position of the elements, not the size, meaning you can resize it.

But I am using a UIGridLayout for a reason, It’s for a pet menu.

UIGridLayout doesn’t let you resize. You’d have to use a UIListLayout. They’re the exact same except UIListLayout lets you resize elements.

image
Well I am using a UIGridLayout to do that.

UIGridLayout purposefully attempts to fill out the boundaries of its containing Gui instance, as such you can’t resize the instances which are being fit to fill the containing Gui instance.