diff options
author | Dominic Rogetzer <e1627756@student.tuwien.ac.at> | 2018-06-15 11:34:14 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-06-16 15:15:32 +0200 |
commit | 1ec6ae678c834592b5d731171a936161147c0707 (patch) | |
tree | c918bda7316d62db178b8cbcdd2fb2fe4630a1bf /src/main/resources/fxml/manageEmployees.fxml | |
parent | e78309c1fa40daaace4eeb79841a0d5d41516a63 (diff) | |
download | sepm-groupproject-1ec6ae678c834592b5d731171a936161147c0707.tar.gz sepm-groupproject-1ec6ae678c834592b5d731171a936161147c0707.tar.xz sepm-groupproject-1ec6ae678c834592b5d731171a936161147c0707.zip |
Adjust employee list item to be more compact, adjust sizes [#28618]
Diffstat (limited to 'src/main/resources/fxml/manageEmployees.fxml')
-rw-r--r-- | src/main/resources/fxml/manageEmployees.fxml | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/src/main/resources/fxml/manageEmployees.fxml b/src/main/resources/fxml/manageEmployees.fxml index c007c88..8607396 100644 --- a/src/main/resources/fxml/manageEmployees.fxml +++ b/src/main/resources/fxml/manageEmployees.fxml @@ -5,36 +5,46 @@ <?import javafx.scene.control.Label?> <?import javafx.scene.control.ScrollPane?> <?import javafx.scene.layout.AnchorPane?> -<?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane fx:id="listEmployeesAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="536.0" prefWidth="816.0" style="-fx-background-color: #EFEBE8;" 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"> +<AnchorPane fx:id="listEmployeesAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" + minWidth="-Infinity" prefHeight="536.0" prefWidth="720.0" style="-fx-background-color: #EFEBE8;" + 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="118.0" prefWidth="816.0" style="-fx-background-color: #C55A11;"> + <AnchorPane prefHeight="118.0" prefWidth="720.0" style="-fx-background-color: #C55A11;" + AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"> <children> <Label layoutX="39.0" layoutY="23.0" text="Personen" textFill="WHITE"> <font> - <Font name="Calibri Bold" size="22.0" /> + <Font name="Calibri Bold" size="22.0"/> </font> </Label> - <Hyperlink onAction="#backToMain" layoutX="702.0" layoutY="15.0" prefHeight="42.0" prefWidth="86.0" text="Zurück" textFill="WHITE"> - <font> - <Font name="System Bold" size="16.0" /> - </font> - </Hyperlink> + <Hyperlink layoutX="702.0" layoutY="15.0" onAction="#backToMain" prefHeight="42.0" + prefWidth="86.0" text="Zurück" textFill="WHITE" AnchorPane.rightAnchor="0.0"> + <font> + <Font name="System Bold" size="16.0"/> + </font> + </Hyperlink> </children> + <padding> + <Insets right="10.0"/> + </padding> </AnchorPane> - <VBox layoutX="37.0" layoutY="60.0" prefHeight="454.0" prefWidth="742.0"> + <AnchorPane layoutX="37.0" layoutY="60.0" maxHeight="-Infinity" maxWidth="-Infinity" + minHeight="-Infinity" minWidth="-Infinity" prefHeight="460.0" prefWidth="662.0"> <children> - <AnchorPane fx:id="containerHeader" prefHeight="86.0" prefWidth="740.0" style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 10, 0, 0, 5);" /> - <ScrollPane hbarPolicy="NEVER" style="-fx-background-color: #EFEBE8;" vbarPolicy="NEVER"> - <VBox.margin> - <Insets top="20.0" /> - </VBox.margin> + <ScrollPane hbarPolicy="NEVER" layoutY="92.0" maxHeight="-Infinity" maxWidth="-Infinity" + minHeight="-Infinity" minWidth="-Infinity" prefHeight="366.0" prefWidth="662.0" + vbarPolicy="NEVER" AnchorPane.topAnchor="86.0"> <content> <fx:include fx:id="employeeList" source="employeeList.fxml"/> </content> </ScrollPane> + <AnchorPane fx:id="containerHeader" maxHeight="-Infinity" maxWidth="-Infinity" + minHeight="-Infinity" minWidth="-Infinity" prefHeight="86.0" prefWidth="652.0" + style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 10, 0, 0, 5);" + AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="0.0"/> </children> - </VBox> + </AnchorPane> </children> </AnchorPane> |