Marko vlaić
Marko vlaić

Reputation: 316

Javafx pane with x and y coordinates

Could you please tell me if there is a pane in javafx I can use to position my nodes by X and Y value. I would use a Group class but it isn't very functional. I want a resizable layout that fits to its parent (Stage in this case) and I must be able to apply css to it. Thank you in advance.

Upvotes: 1

Views: 5690

Answers (1)

narf0708
narf0708

Reputation: 100

It sounds like you're looking for a GridPane. You add content to it with the 'gridPane.add(node, x, y)', which places the specified node at the specified x,y coordinates.

Upvotes: 1

Related Questions