summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/resources/fxml/listEmployees.fxml9
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>