Stack + Size to Fit = not what I want

When I Size to Fit a stack… I want it to fit the the stack like I dragged it by hand. Is the way it currently works in Sketch 2025.3 intended?

This is intended, but I understand why you question this.

When it’s set to fit, the width is the total of all contents, gaps and padding.

But because you’re using wrap, Sketch doesn’t know how many “columns” you actually want. You may have resized the stack manually so it shows 5 items before it wraps – but that isn’t an explicit value the app can use. It’s just the width of the container and there just happens to be whatever number of layers that fit to the manually sized container.

What this really is, is a feature request for a CSS grid-like feature which is related to stacks, but of course the benefit there is you can explicitly define a number of columns (and rows!)

Apologies if that’s too inside baseball – but I’ll see if it’s something we can support soon.

1 Like