I’m trying to create a stacked list where each item has a variable height that is dictated by its contents.
The issue I’m having, as you’ll see in this example, is that each row is being spaced in a very odd way.
I would love some help figuring this out.
Are you going for even padding between text blocks? if so, layer.y = (layer.height * i) won't do, you'd need to keep track of previous text block's maxY and set the current text block's y to that