aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/fxml/filterEmployeesControl.fxml20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/main/resources/fxml/filterEmployeesControl.fxml b/src/main/resources/fxml/filterEmployeesControl.fxml
index 67d9c78..55c80d8 100644
--- a/src/main/resources/fxml/filterEmployeesControl.fxml
+++ b/src/main/resources/fxml/filterEmployeesControl.fxml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?import javafx.geometry.Rectangle2D?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
@@ -8,15 +7,17 @@
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane fx:id="apFilterEmployees" prefHeight="80" prefWidth="${apFilterEmployees.parent.width}"
- style="-fx-background-color: white;" xmlns="http://javafx.com/javafx/9.0.1"
- stylesheets="/styles/main.css"
- xmlns:fx="http://javafx.com/fxml/1"
+ style="-fx-background-color: white;" stylesheets="/styles/main.css"
+ 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.FilterEmployeesController">
<children>
- <Label layoutX="14.0" layoutY="14.0" text="Filtern nach Name"/>
- <TextField fx:id="inputFilterString" layoutX="22.0" layoutY="41.0"
- onKeyReleased="#onFilterTextChanged" promptText="Name eingeben"/>
- <Button layoutX="698.0" layoutY="48.0" mnemonicParsing="false" onAction="#onAddEmployeeClicked"
+ <Label text="Filtern nach Name" AnchorPane.leftAnchor="20.0"
+ AnchorPane.topAnchor="15.0" styleClass="text-medium, text-bold"/>
+ <TextField fx:id="inputFilterString"
+ onKeyReleased="#onFilterTextChanged" promptText="Name eingeben"
+ styleClass="text-medium"
+ AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="45.0"/>
+ <Button mnemonicParsing="false" onAction="#onAddEmployeeClicked"
onInputMethodTextChanged="#onFilterTextChanged"
style="-fx-background-color: green; -fx-border-width: 1px; -fx-border-radius: 25px; -fx-background-radius: 25px; -fx-border-color: black; -fx-min-width: 50px; -fx-min-height: 50px; -fx-max-width: 50px; -fx-max-height: 50px;"
AnchorPane.bottomAnchor="-10.0" AnchorPane.rightAnchor="10.0">
@@ -25,9 +26,6 @@
<image>
<Image url="/images/PlusButton.png"/>
</image>
- <viewport>
- <Rectangle2D/>
- </viewport>
</ImageView>
</graphic>
</Button>