Proposal: Avoiding nested views with a merge tag
Knut Arne Vedaa
knut.arne.vedaa at broadpark.no
Mon Dec 17 14:16:06 PST 2012
Ok, so more like:
host.fxml:
<VBox>
<TextField/>
<ComboBox/>
<fx:merge source="morecontrols.fxml"/>
<fx:merge source="evenmorecontrols.fxml"/>
</VBox>
morecontrols.fxml:
<fx:merge>
<Label/>
<TabPane/>
</fx:merge>
evenmorecontrols.fxml:
<fx:merge>
<ListView/>
</fx:merge>
Ending up as:
<VBox>
<TextField/>
<ComboBox/>
<Label/>
<TabPane/>
<ListView/>
</VBox>
(The fx-include tag could possibly be re-used for this, instead of
fx-merge.)
Knut Arne Vedaa
More information about the openjfx-dev
mailing list