I have a complex HMI which implies multiple vbox intricated in my code.
Some are defined in xml, some are in fx:include, some are directly created dynamically in the java code.
The thing is : I add nodes dynamically in one of this vbox and I just want it to grow to fit its content.
So I set the VBox.vgrow=”ALWAYS” in my fxml file containing this vbox, but the Vbox doesnt resize when I add too much content to it. Is that because of the mix of the fx:include, java, and fxml code ?
Flint91300 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.