Closed Zambrella closed 3 years ago
Broken on 720p phones
Hm... I guess we should manually compute the size of table cells, but based on device height, not width
I'm going to have a play but I'm thinking of having the top section be the dynamically sizing part of the screen.
Yeah, that in fact sounds better. It would be a little inconvenient to have a small phone AND even smaller grid. Let it always be as wide as it can. That surely leaves some height to be worked with for top section
Got it working on 720p, 1080p and 1440p extended height displays. Not the most fool proof but I think it should cover most cases.
If you're wondering I used a combination of LayoutBuilder
and AspectRatio
widgets (along with Flexible
/Expanded
).
I have tested both the 'playing state' and the 'won' state.
Working on this today