diff options
author | Dominic Rogetzer <e1627756@student.tuwien.ac.at> | 2018-06-15 21:51:56 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-06-16 15:15:32 +0200 |
commit | 06f8d1e973da89270e653dc4c0441891965d2d5b (patch) | |
tree | 795665c02f818910e6f5ff2532e1b1e17941b972 /src/main/resources | |
parent | fe584f9f36370363f7fb2b793580b6dd438e0038 (diff) | |
download | sepm-groupproject-06f8d1e973da89270e653dc4c0441891965d2d5b.tar.gz sepm-groupproject-06f8d1e973da89270e653dc4c0441891965d2d5b.tar.xz sepm-groupproject-06f8d1e973da89270e653dc4c0441891965d2d5b.zip |
Adjust design of employee edit/create fxml [#28618]
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/fxml/createNewEmployee.fxml | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/src/main/resources/fxml/createNewEmployee.fxml b/src/main/resources/fxml/createNewEmployee.fxml index 47e8b63..e2f841f 100644 --- a/src/main/resources/fxml/createNewEmployee.fxml +++ b/src/main/resources/fxml/createNewEmployee.fxml @@ -7,24 +7,30 @@ <?import javafx.scene.control.Label?> <?import javafx.scene.control.TextField?> <?import javafx.scene.layout.AnchorPane?> -<AnchorPane fx:id="apCreateNewEmployee" prefHeight="120" - prefWidth="${apCreateNewEmployee.parent.width}" styleClass="bg-white" - xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" + +<AnchorPane fx:id="apCreateNewEmployee" prefHeight="100" + prefWidth="${apCreateNewEmployee.parent.width}" styleClass="bg-edit-area-orange" + stylesheets="@/styles/main.css" xmlns="http://javafx.com/javafx/9.0.1" + xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.CreateNewEmployeeController"> <children> - <Label fx:id="lblHeader" layoutX="14.0" layoutY="14.0" text="Neue Person erstellen"/> - <Label layoutX="14.0" layoutY="38.0" text="Name"/> - <Label layoutX="206.0" layoutY="38.0" text="Qualifikation"/> - <CheckBox fx:id="inputIsDriver" layoutX="343.0" layoutY="37.0" mnemonicParsing="false" - text="Fahrer"/> - <CheckBox fx:id="inputIsPilot" layoutX="343.0" layoutY="62.0" mnemonicParsing="false" - text="Pilot"/> + <Label fx:id="lblHeader" layoutX="14.0" layoutY="14.0" styleClass="text-bold, text-medium" + text="Neue Person erstellen"/> + <Label layoutX="14.0" layoutY="38.0" styleClass="text-small" text="Name"/> + <Label layoutX="206.0" layoutY="38.0" styleClass="text-small" text="Qualifikation"/> + <CheckBox fx:id="inputIsDriver" layoutX="355.0" layoutY="37.0" mnemonicParsing="false" + styleClass="text-small" text="Fahrer"/> + <CheckBox fx:id="inputIsPilot" layoutX="355.0" layoutY="62.0" mnemonicParsing="false" + styleClass="text-small" text="Pilot"/> <Hyperlink fx:id="btnCancel" layoutX="441.0" layoutY="31.0" onAction="#onCancelClicked" - text="abbrechen"/> + styleClass="text-medium" text="abbrechen" textFill="black" AnchorPane.bottomAnchor="30.0" + AnchorPane.rightAnchor="10.0"/> <Button fx:id="btnCreate" layoutX="441.0" layoutY="55.0" mnemonicParsing="false" - onAction="#onCreateClicked" text="Erstellen"/> - <TextField fx:id="inputName" layoutX="14.0" layoutY="57.0" prefHeight="25.0" prefWidth="179.0"/> - <ChoiceBox fx:id="inputQualification" layoutX="199.0" layoutY="57.0" prefHeight="25.0" + onAction="#onCreateClicked" styleClass="button-main, bg-green, text-bold, text-big" + text="ERSTELLEN" AnchorPane.bottomAnchor="-10.0" AnchorPane.rightAnchor="10.0"/> + <TextField fx:id="inputName" layoutX="14.0" layoutY="57.0" prefHeight="25.0" prefWidth="179.0" + style="-fx-background-color: transparent" styleClass="text-bold, text-medium"/> + <ChoiceBox fx:id="inputQualification" layoutX="206.0" layoutY="57.0" prefHeight="25.0" prefWidth="128.0"/> </children> </AnchorPane> |