122 lines
5.4 KiB
XML
122 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ComboBox?>
|
|
<?import javafx.scene.control.ListView?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<AnchorPane prefHeight="700.0" prefWidth="950.0" stylesheets="@child.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.ChildViewController">
|
|
<children>
|
|
<Text layoutX="51.0" layoutY="90.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Kinder">
|
|
<font>
|
|
<Font size="58.0" />
|
|
</font>
|
|
</Text>
|
|
<HBox id="contentContainer" alignment="CENTER" layoutX="8.0" layoutY="165.0" prefHeight="331.0" prefWidth="937.0">
|
|
<children>
|
|
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Name">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</Text>
|
|
<TextField fx:id="name" prefWidth="97.0">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</TextField>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nachname">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</Text>
|
|
<TextField fx:id="lastname" prefWidth="97.0">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</TextField>
|
|
</children>
|
|
<HBox.margin>
|
|
<Insets left="15.0" right="15.0" />
|
|
</HBox.margin>
|
|
</VBox>
|
|
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Straße">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</Text>
|
|
<TextField fx:id="street" prefWidth="97.0">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</TextField>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Hausnummer">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</Text>
|
|
<TextField fx:id="number" prefWidth="97.0">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</TextField>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="PLZ">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</Text>
|
|
<TextField fx:id="plz" prefWidth="97.0">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</TextField>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Stadt">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</Text>
|
|
<TextField fx:id="city" prefWidth="97.0">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</TextField>
|
|
</children>
|
|
<HBox.margin>
|
|
<Insets left="15.0" right="15.0" />
|
|
</HBox.margin>
|
|
</VBox>
|
|
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Allergien">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
</Text>
|
|
<ListView prefHeight="101.0" prefWidth="227.0" />
|
|
<HBox prefHeight="26.0" prefWidth="256.0">
|
|
<children>
|
|
<ComboBox fx:id="selectAllergy" prefWidth="150.0" promptText="Allergie wählen" />
|
|
<ComboBox fx:id="selectAllergySeverity" prefWidth="150.0" promptText="Schwere" />
|
|
</children>
|
|
</HBox>
|
|
<Button fx:id="addAllergy" mnemonicParsing="false" onAction="#addAllergy" prefHeight="25.0" prefWidth="171.0" text="Allergie hinzufügen" />
|
|
</children>
|
|
<HBox.margin>
|
|
<Insets left="15.0" right="15.0" />
|
|
</HBox.margin>
|
|
</VBox>
|
|
</children>
|
|
</HBox>
|
|
<Button id="btAddChild" layoutX="421.0" layoutY="587.0" mnemonicParsing="false" onAction="#onBtClick" prefHeight="26.0" prefWidth="125.0" text="Kind hinzufügen" />
|
|
</children>
|
|
</AnchorPane>
|