Qubit Posted April 20, 2017 Posted April 20, 2017 So I have an hbox, that shows images. The only problem I need a button to be displayed over the images. Anyone have an idea to do this? Since I use a hbox pane to display the images, I can't just set the background to the image.. e.g below)
Easy Posted April 20, 2017 Posted April 20, 2017 (edited) hbox.getChildren().addAll(button1); https://docs.oracle.com/javafx/2/api/javafx/scene/layout/HBox.html Edited April 20, 2017 by Easy
Qubit Posted April 20, 2017 Author Posted April 20, 2017 11 minutes ago, Easy said: hbox.getChildren().addAll(button1); https://docs.oracle.com/javafx/2/api/javafx/scene/layout/HBox.html That would just add the button to the hbox... I want it to overlay the hbox