UniversityofAlaskaAnchorageCS / RotationFrenzy

Educational Physics Game
MIT License
2 stars 0 forks source link

Chapter and level overview not working correctly #50

Closed kaltinril closed 6 years ago

kaltinril commented 6 years ago

First row is fine, but after first row levels just go down the first column.

This is because the logic for how wide the row is, is based on the entire container's width, which is always as wide as the widest row (the first row). So each time after the first row is filled, the code thinks the new row is full, so it adds the next level to the next row.

Need to add a variable to track the ROW width, or find a way to get the ROW width.