diff options
author | Dominic Rogetzer <e1627756@student.tuwien.ac.at> | 2018-06-15 20:28:55 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-06-16 15:15:32 +0200 |
commit | fe584f9f36370363f7fb2b793580b6dd438e0038 (patch) | |
tree | dda68c0df5596ab7d92ba8c0da247460aad586d4 /src/main/resources/fxml/manageEmployees.fxml | |
parent | 39868a2866b8974a408e6adbdbd7231da4305f90 (diff) | |
download | sepm-groupproject-fe584f9f36370363f7fb2b793580b6dd438e0038.tar.gz sepm-groupproject-fe584f9f36370363f7fb2b793580b6dd438e0038.tar.xz sepm-groupproject-fe584f9f36370363f7fb2b793580b6dd438e0038.zip |
Move employee list down if header height increases [#28618]
Diffstat (limited to 'src/main/resources/fxml/manageEmployees.fxml')
-rw-r--r-- | src/main/resources/fxml/manageEmployees.fxml | 72 |
1 files changed, 21 insertions, 51 deletions
diff --git a/src/main/resources/fxml/manageEmployees.fxml b/src/main/resources/fxml/manageEmployees.fxml index 05e729d..68851e2 100644 --- a/src/main/resources/fxml/manageEmployees.fxml +++ b/src/main/resources/fxml/manageEmployees.fxml @@ -4,67 +4,37 @@ <?import javafx.scene.control.Label?> <?import javafx.scene.control.ScrollPane?> <?import javafx.scene.layout.AnchorPane?> -<AnchorPane - fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.ManageEmployeesController" - fx:id="listEmployeesAP" - prefHeight="536.0" - prefWidth="702.0" - stylesheets="@/styles/main.css" - visible="false" - styleClass="bg-gray-orange" - xmlns="http://javafx.com/javafx/9.0.1" - xmlns:fx="http://javafx.com/fxml/1"> +<?import javafx.scene.layout.VBox?> + +<AnchorPane fx:id="listEmployeesAP" prefHeight="536.0" prefWidth="702.0" styleClass="bg-gray-orange" + stylesheets="@/styles/main.css" visible="false" 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.ManageEmployeesController"> <children> - <AnchorPane prefHeight="120.0" - styleClass="bg-dark-orange" - AnchorPane.leftAnchor="0.0" - AnchorPane.rightAnchor="0.0" - AnchorPane.topAnchor="0.0"> + <AnchorPane prefHeight="120.0" styleClass="bg-dark-orange" AnchorPane.leftAnchor="0.0" + AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> <children> - <Label - text="Personen" - AnchorPane.leftAnchor="25.0" - AnchorPane.topAnchor="20.0" - styleClass="text-bold, text-big, text-white"> + <Label styleClass="text-bold, text-big, text-white" text="Personen" + AnchorPane.leftAnchor="25.0" AnchorPane.topAnchor="20.0"> </Label> - <Hyperlink - onAction="#backToMain" - text="Zurück" - AnchorPane.rightAnchor="25.0" - AnchorPane.topAnchor="30.0" - styleClass="text-medium, text-white"> + <Hyperlink onAction="#backToMain" styleClass="text-medium, text-white" text="Zurück" + AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="30.0"> </Hyperlink> </children> </AnchorPane> - <AnchorPane - AnchorPane.bottomAnchor="0.0" - AnchorPane.leftAnchor="20.0" - AnchorPane.rightAnchor="20.0" - AnchorPane.topAnchor="60.0"> + <VBox fx:id="containerVbox" alignment="BOTTOM_LEFT" rotate="180" AnchorPane.bottomAnchor="0.0" + AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="60.0"> <children> - <ScrollPane - fitToHeight="true" - fitToWidth="true" - hbarPolicy="NEVER" - vbarPolicy="NEVER" - AnchorPane.bottomAnchor="0.0" - AnchorPane.leftAnchor="0.0" - AnchorPane.rightAnchor="0.0" - AnchorPane.topAnchor="80.0"> + <ScrollPane fx:id="employeeScrollPane" fitToHeight="true" fitToWidth="true" + hbarPolicy="NEVER" maxHeight="-Infinity" minHeight="-Infinity" prefHeight="336.0" + prefWidth="662.0" rotate="180" vbarPolicy="NEVER"> <content> - <fx:include - fx:id="employeeList" - source="employeeList.fxml"/> + <fx:include fx:id="employeeList" source="employeeList.fxml"/> </content> </ScrollPane> - <AnchorPane - fx:id="containerHeader" - minHeight="80.0" - styleClass="shadowed" - AnchorPane.leftAnchor="5.0" - AnchorPane.rightAnchor="5.0" - AnchorPane.topAnchor="0.0"/> + <AnchorPane fx:id="containerHeader" minHeight="80.0" rotate="180" styleClass="shadowed" + AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="0.0"/> </children> - </AnchorPane> + </VBox> </children> </AnchorPane> |