Re-layout based on resizing happens automatically. However if you don't provide a container (your TileGroup
in this instance) with some specific sizing rules it will apply its default sizing behavior, which is to fit its content. Obviously that content doesn't change whether you're in portrait or landscape state, so nothing happens.
I'm not exactly sure what you're trying to do, but setting width="100%" height="100%"
will stretch the TileGroup
over the entire screen. I.e. its size will be calculated based on its parent container's size instead of its content. Thus the number of columns/rows will change when the state changes.