I have a grid as a child of a scroll list, and I will dynamically add items to the grid and call reposition on the grid, but I also want a background UISprite to grow with the grid.
How do I get the height of a grid, to be able to fit my background to cover the grid area?
Do I have to count the number of grid elements, and calculate how long it is based on the cell height and such? I want to avoid this, as it seems hard to get perfect, and I am unsure how to get grid spacing amount.