Closed geometrikal closed 7 years ago
That's probably a bug, so the FlowGridPane is in an experimental state atm.
Ok, you might want to try to set the prefSize of the Tiles to a bigger value. So the Tiles will only be resized to their preferred size but not bigger than that.
Thanks. Really nice library btw.
I was trying to get the tiles to stretch and resize like in the demo video. I made the following changes in Demo.java
When the demo is run (gradlew Demo) the tiles are not stretched to the full extent:
If one drags the bottom edge up, the tiles will compress:
If one drags the right edge across such that the FlowGridPane changes from 4 rows by 5 cols to 5 rows by 4 cols, and then drags the right edge back to the original position, the tiles are now fully stretched.
Not sure if this is a bug or I've missed a setting somewhere?