aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/fxml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/fxml')
-rw-r--r--src/main/resources/fxml/filterEmployeesControl.fxml29
1 files changed, 21 insertions, 8 deletions
diff --git a/src/main/resources/fxml/filterEmployeesControl.fxml b/src/main/resources/fxml/filterEmployeesControl.fxml
index 8f24a74..67d9c78 100644
--- a/src/main/resources/fxml/filterEmployeesControl.fxml
+++ b/src/main/resources/fxml/filterEmployeesControl.fxml
@@ -1,22 +1,35 @@
<?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?>
+<?import javafx.scene.image.Image?>
+<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
-
-<AnchorPane style="-fx-background-color: white;"
- xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1"
- fx:id="apFilterEmployees"
- prefWidth="${apFilterEmployees.parent.width}"
- prefHeight="80"
+<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"
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"
- onInputMethodTextChanged="#onFilterTextChanged" text="Person hinzufügen"
- AnchorPane.rightAnchor="10.0"/>
+ 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">
+ <graphic>
+ <ImageView fitHeight="30.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true">
+ <image>
+ <Image url="/images/PlusButton.png"/>
+ </image>
+ <viewport>
+ <Rectangle2D/>
+ </viewport>
+ </ImageView>
+ </graphic>
+ </Button>
</children>
</AnchorPane>