[Unity] Alternative for UniformGrid
Posted: 14 Jun 2015, 20:51
Hi,
right now I'm trying to create an inventory for a mobile application. Up until now I used an ItemsControl with a WrapPanel for its elements (similar to this video). The problem with that is that I need to define the cell size dependent on the actual resolution (and ppi). And if you think of mobile devices there are 'hundreds' of different resolutions.
Instead I would prefer to use a UniformGrid. Unfortunately it's not implemented yet. Do you have a good idea how I could achieve the same behaviour with any other Panel under Unity?
right now I'm trying to create an inventory for a mobile application. Up until now I used an ItemsControl with a WrapPanel for its elements (similar to this video). The problem with that is that I need to define the cell size dependent on the actual resolution (and ppi). And if you think of mobile devices there are 'hundreds' of different resolutions.
Instead I would prefer to use a UniformGrid. Unfortunately it's not implemented yet. Do you have a good idea how I could achieve the same behaviour with any other Panel under Unity?