feat: integrate steps list updates
uses JavaFX includes to incorporate a nested controller
This commit is contained in:
parent
2ce855aa3d
commit
0bec62b9a3
4 changed files with 36 additions and 31 deletions
|
|
@ -116,27 +116,10 @@
|
|||
</HBox>
|
||||
|
||||
<!-- Ingredients -->
|
||||
<fx:include fx:id="ingredientsListContainer" source="recipe/IngredientList.fxml" />
|
||||
<fx:include source="recipe/IngredientList.fxml" />
|
||||
|
||||
<!-- Preparation -->
|
||||
<Label fx:id="preparationLabel" text="Preparation">
|
||||
<font>
|
||||
<Font name="System Bold" size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<ListView fx:id="preparationListView" prefHeight="200.0" />
|
||||
<Button fx:id="addPreparationStepButton" onAction="#addPreparationStep" text="Add Step" />
|
||||
<GridPane>
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="890.6666870117188" minWidth="10.0" prefWidth="854.6666870117188" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="445.3333740234375" minWidth="10.0" prefWidth="57.33331298828125" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
</GridPane>
|
||||
<fx:include source="recipe/RecipeStepList.fxml" />
|
||||
</VBox>
|
||||
</center>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue