diff options
author | Dominic Rogetzer <e1627756@student.tuwien.ac.at> | 2018-05-19 00:22:10 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-05-22 17:05:32 +0200 |
commit | 076b50fcaa2cb730d6e8f8198db0c4ac451a2f5d (patch) | |
tree | 873499fb8d59f7d3b999769a26d2eca2358cff08 /src/main | |
parent | a07b60aeabfe683fead24a51548851adf98837a2 (diff) | |
download | sepm-groupproject-076b50fcaa2cb730d6e8f8198db0c4ac451a2f5d.tar.gz sepm-groupproject-076b50fcaa2cb730d6e8f8198db0c4ac451a2f5d.tar.xz sepm-groupproject-076b50fcaa2cb730d6e8f8198db0c4ac451a2f5d.zip |
Add and configure ScrollPane for employee list [#25949]
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/resources/fxml/listEmployees.fxml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/resources/fxml/listEmployees.fxml b/src/main/resources/fxml/listEmployees.fxml index 3ef1b3d..ae815e1 100644 --- a/src/main/resources/fxml/listEmployees.fxml +++ b/src/main/resources/fxml/listEmployees.fxml @@ -2,6 +2,7 @@ <?import javafx.geometry.Insets?> <?import javafx.scene.control.Label?> +<?import javafx.scene.control.ScrollPane?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.FlowPane?> <?import javafx.scene.layout.VBox?> @@ -25,11 +26,15 @@ <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);"/> - <FlowPane fx:id="flowPaneEmployeeList" prefHeight="346.0" prefWidth="742.0"> + <ScrollPane hbarPolicy="NEVER" style="-fx-background-color: #EFEBE8;" vbarPolicy="NEVER"> <VBox.margin> <Insets top="20.0"/> </VBox.margin> - </FlowPane> + <content> + <FlowPane fx:id="flowPaneEmployeeList" prefHeight="346.0" prefWidth="742.0" + style="-fx-background-color: #EFEBE8;"/> + </content> + </ScrollPane> </children> </VBox> </children> |