I believe that this is something you’ll have to do with a script. There’s no way to change its size based on its children without a little bit of coding.
There are many ways to do this, but the top two are: using UIListLayout.AbsoluteContentSize, and just going through the children and compiling its’ total size.
So let’s say you have a Parent Frame that has three Children. Child A has an AbsoluteSize of (200, 100), Child B has a size of (39, 68), and Child C has a size of (58, 198). To get the total size, you just need to add the sizes together.
function getAbsoluteSize(frame)
local totalSize = Vector2.new()
for _, Child in pairs(frame:GetChildren()) do
if Child:IsA("GuiBase2d") then
totalSize += Child.AbsoluteSize
end
end
return totalSize
end