JavaFX Panel inside Panel auto resizing
After hours of searching and testing finally got it just after posting the question! You can use the “AnchorPane.topAnchor, AnchorPane.bottomAnchor, AnchorPane.leftAnchor, AnchorPane.rightAnchor” fxml commands with the value “0.0” to fit/stretch/align the child elements inside a AnchorPane. So, these commands tell to child element to follow its parent while resizing. My updated code Main.fxml <?xml version=”1.0″ … Read more