i was searching for answer and trying so many options. Finally i found way to pass my own javaxf object to GridPane. But I still think there is a better way to this than I am doing. So here is my code: Main: By better way I mean, that there might be other way than passing GridPane and int x,
Tag: gridpane
Square GridPane of square cells
My goal is to create a GridView that is resizable, always square and contains an equal number of rows and columns, making their cells also square, similar to a Reversi or Chess board. Here’s a small illustration, the grid is centered horizontally on the content pane. I’ve tried a multitude of different binding variants and layouts, but I can’t quite