feat(client/shopping): fxml definition for various UI elements

This commit is contained in:
Zhongheng Liu 2026-01-22 19:54:49 +01:00
commit 234c8c3d64
Signed by: steven
GPG key ID: F69B980899C1C09D

View file

@ -8,7 +8,17 @@
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="$CONTROLLER_NAME$"
prefHeight="400.0" prefWidth="600.0" >
fx:controller="client.scenes.shopping.ShoppingListNewItemPromptCtrl"
prefHeight="400.0" prefWidth="600.0">
<VBox>
<HBox>
<Spinner fx:id="amountSelect" />
<MenuButton fx:id="unitSelect">Unit...</MenuButton>
<MenuButton fx:id="ingredientSelection">Your ingredient...</MenuButton>
</HBox>
<HBox>
<Button onAction="#confirmAdd">Confirm</Button>
<Button onAction="#cancelAdd">Cancel</Button>
</HBox>
</VBox>
</AnchorPane>