moai/moai-dev — Issue #38: Compute/set maximum content size in decks
Author: patrickmeehan
Created: 2012-01-06 02:37:52+00:00
State: open
Labels: backlog

We need a way to compute or set content size in decks for use when drawing grids. When indexing a single deck element and displaying with a prop, it's not a problem: the bounds of that element are used for view culling. But when attempting to render a grid of arbitrarily sized elements, we need to pad the grid region with the dimensions of the largest element in the deck to make sure cells containing that element will be rendered even when just off screen.