Hi. I've saw that somehow, when I add a content to the drawer it is added in a HBox control (for left side drawer).
So, in the drawer's sidePane I loaded a custom control which contains some buttons. When a button is clicked, the drawer's content is being cleaned-up and a new control is added. This new control is a custom control based on AnchorPane, which contains some other controls. The question is how do I make this custom control to set the size to the entire space in the drawer?
Edit:
I made a test with Syste.out.println(), and printed all parent class names till I've reached the JFXDrawer. The result is this:
my class ****.customControls.EmployeesList -> parent: javafx.scene.layout.StackPane -> parent: javafx.scene.layout.HBox -> parent: javafx.scene.layout.StackPane -> parent: com.jfoenix.controls.JFXDrawer.
so, a lot of parent controls here... how do I make my control to fit the entire space of the JFXDrawer?
Hi. I've saw that somehow, when I add a content to the drawer it is added in a HBox control (for left side drawer). So, in the drawer's sidePane I loaded a custom control which contains some buttons. When a button is clicked, the drawer's content is being cleaned-up and a new control is added. This new control is a custom control based on AnchorPane, which contains some other controls. The question is how do I make this custom control to set the size to the entire space in the drawer?
Edit: I made a test with Syste.out.println(), and printed all parent class names till I've reached the JFXDrawer. The result is this:
my class ****.customControls.EmployeesList -> parent: javafx.scene.layout.StackPane -> parent: javafx.scene.layout.HBox -> parent: javafx.scene.layout.StackPane -> parent: com.jfoenix.controls.JFXDrawer.
so, a lot of parent controls here... how do I make my control to fit the entire space of the JFXDrawer?