Open marlitas opened 8 months ago
When comparing the published version of Fourier Making waves I noticed that the layout of how a 3 buttons per row max differs between the FlowBox implementation and the GridBox implementation.
GridBox:
FlowBox:
It is not possible to split buttons between columns like that with Gridbox, but I am unsure if that's a design constraint or not. I would like to check with @pixelzoom on this before moving forward. Patch below:
Ah... I had forgotten about these layouts that are not actually grids. A grid is not going to work here. Also ?gameLevels
and LevelSelectionButton visibleProperty
can be used to hide buttons. And it's not clear to me how to maintain a "visually pleasing" layout as buttons are added/removed. So I recommend that we table this issue, and add it to the "PhET-iO and Games" discussion in https://github.com/phetsims/vegas/issues/118.
On-Hold until this is discussed and reviewed with a designer. The discussion may potentially happen with #118
I thought there was an issue tracking this work, but I can't seem to find it... perhaps it was only talked about in relation to https://github.com/phetsims/vegas/issues/120.
We would like to try to use GridBox as a way to lay out level selection buttons to simplify some of the logic.