is there a way to have panels with different heights in an accordion in JavaFX? I would like to know how to do it. I've googled it but I haven't found what I need.
you can do this with setPrefHeight of pane....
setPrefHeight
try this.
pane.setPrefHeight(400);