09.04.2018 Views

tornadofx-guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Wizard<br />

Structural modifications<br />

The root of the Wizard class is a BorderPane . The header will be in the top slot, the steps<br />

are in the left slot, the pages are in the center slot and the buttons are in the bottom<br />

slot. You can change/hide/add styling and set properties to these nodes as you see fit to<br />

alter the design and layout of the Wizard. A good place to do this would be in the onDock<br />

callback of your wizard subclass. It is completely valid change the layout in any way you see<br />

fit, you can even remove the BorderPane and move the other parts into another layout<br />

container for example.<br />

277

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!