diff options
author | Dominic Rogetzer <e1627756@student.tuwien.ac.at> | 2018-06-15 15:46:37 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-06-16 15:15:32 +0200 |
commit | 39868a2866b8974a408e6adbdbd7231da4305f90 (patch) | |
tree | 21d8f65631a82cec3fb6f8a227e5887769dade47 /src/main/resources | |
parent | 11be31fa250a8c77510afe45dcac75d03d8fd904 (diff) | |
download | sepm-groupproject-39868a2866b8974a408e6adbdbd7231da4305f90.tar.gz sepm-groupproject-39868a2866b8974a408e6adbdbd7231da4305f90.tar.xz sepm-groupproject-39868a2866b8974a408e6adbdbd7231da4305f90.zip |
Change scrollbar-top-padding, use styles from main.css, format [#28618]
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/fxml/employeeList.fxml | 11 | ||||
-rw-r--r-- | src/main/resources/fxml/manageEmployees.fxml | 68 |
2 files changed, 56 insertions, 23 deletions
diff --git a/src/main/resources/fxml/employeeList.fxml b/src/main/resources/fxml/employeeList.fxml index 4131125..5bcce1c 100644 --- a/src/main/resources/fxml/employeeList.fxml +++ b/src/main/resources/fxml/employeeList.fxml @@ -1,12 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> +<?import javafx.geometry.Insets?> <?import javafx.scene.layout.FlowPane?> -<FlowPane xmlns="http://javafx.com/javafx" - xmlns:fx="http://javafx.com/fxml" +<FlowPane + 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.EmployeeListController" fx:id="flowPaneEmployeeList" stylesheets="@/styles/main.css" prefWidth="${flowPaneEmployeeList.parent.width}" prefHeight="${flowPaneEmployeeList.parent.height}" - style="-fx-background-color: #EFEBE8;"> + styleClass="bg-gray-orange"> + <padding> + <Insets bottom="10.0"/> + </padding> </FlowPane> diff --git a/src/main/resources/fxml/manageEmployees.fxml b/src/main/resources/fxml/manageEmployees.fxml index 4a7312f..05e729d 100644 --- a/src/main/resources/fxml/manageEmployees.fxml +++ b/src/main/resources/fxml/manageEmployees.fxml @@ -4,38 +4,66 @@ <?import javafx.scene.control.Label?> <?import javafx.scene.control.ScrollPane?> <?import javafx.scene.layout.AnchorPane?> -<AnchorPane fx:id="listEmployeesAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" - minWidth="-Infinity" prefHeight="536.0" prefWidth="702.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: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"> <children> <AnchorPane prefHeight="120.0" styleClass="bg-dark-orange" - AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> + AnchorPane.leftAnchor="0.0" + AnchorPane.rightAnchor="0.0" + AnchorPane.topAnchor="0.0"> <children> - <Label text="Personen" textFill="WHITE" - AnchorPane.leftAnchor="25.0" AnchorPane.topAnchor="20.0" - styleClass="text-bold, text-big"> + <Label + text="Personen" + AnchorPane.leftAnchor="25.0" + AnchorPane.topAnchor="20.0" + styleClass="text-bold, text-big, text-white"> </Label> - <Hyperlink onAction="#backToMain" text="Zurück" - textFill="WHITE" AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="20.0" - styleClass="text-big, text-bold"> + <Hyperlink + onAction="#backToMain" + text="Zurück" + AnchorPane.rightAnchor="25.0" + AnchorPane.topAnchor="30.0" + styleClass="text-medium, text-white"> </Hyperlink> </children> </AnchorPane> - <AnchorPane AnchorPane.bottomAnchor="0.0" - AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="60.0"> + <AnchorPane + 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="86.0"> + <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"> <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" + styleClass="shadowed" + AnchorPane.leftAnchor="5.0" + AnchorPane.rightAnchor="5.0" + AnchorPane.topAnchor="0.0"/> </children> </AnchorPane> </children> |