javafx - Scene Builder 2.0. FXML import not working -
i'm using javafx scene builder 2.0. version , import fxml file under tabpane controller. idea have 1 kind of container fxml file tabpane , separate fxml files things come inside of tabs. when try import fxml file have things add under 1 tab, scene builder gives error message "failed import tabcontents.fxml under tabpane". why not possible import under tabpane? if import same file directly under root stackpane works.
edit: while below works, best add sort of layout pane (like anchorpane
) each tab in tabpane
, select anchorpane
pane in hierarchy view on left , import other fxml document that, opposed importing directly tabpane
(perhaps if root node of document tab
work?).
looks bug, now:
- cut entire document hierarchy
- add empty stack pane
- include other fxml file
- paste document hierarchy stack pane
- drag fxml file appropriate place in hierarchy
- cut new hierarchy (with file included)
- delete defunct stack pane
- paste hierarchy in
and voila, working intended!
Comments
Post a Comment