1 Reply Latest reply: Mar 13, 2013 4:50 AM by Eric Le Ponner RSS

    SceneBuilder - postioning component

    user6427421
      I've just started looking at JavaFX and SceneBuilder. I created a new JavaFX project in Netbeans 7.3 which creates a window with a Button in an AnchorPane.

      I want to do something really simple: have the button centred when the window is resized.

      I've tried wrapping the Button in a VBox,HBox,Grid and none seems to work. Can someone please give me a hint !