I'm trying to include an additional fxml in a main fxml, border pane center. When I do this, the fxml gets included and shows in the center, but the fxml does not occupy the full width and height of the main fxml window.
In the SceneBuilder, if I add the TableView in the center of the borderpane, it acts as it should. Only when I include the fxml via code it does not.
Please help, what am I missing? Any help will be appreciated
i think that normally borderpane will hide the empty parts but since its inside of a tabbedPane thats probably why it breaks. The titledPane also acts weird when you put things in it, it shows a big gap and it disrespects the grow properties set on the child containers. You can fix some of this weirdness with css, but in your case its easier to just use a VBox instead of the borderpane.
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads: