I'm using a GridPane, this is the code to start it:
GridPane grid = new GridPane();
grid.setAlignment(Pos.CENTER);
grid.setHgap(10.);
grid.setVgap(10.);
grid.setPadding(new Insets(25,25,25,25));
I'm trying to make the small box be placed right next to the Add Word button. I've added the button and textInput with
Button addSpellBtn = new Button("Add Word");
grid.add(addSpellBtn, 0, 4);
TextField spellingAddField = new TextField();
grid.add(spellingAddField, 1, 4);
How would I go about putting them next to each other, but still keep it able to be moved around on the grid view?
Please and thank you in advance!