aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/fxml/filterEmployeesControl.fxml
blob: 8f7e72f96c08862f05f8840bd9730c44727e897a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>

<?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 fx:id="apFilterEmployees" prefHeight="80" prefWidth="${apFilterEmployees.parent.width}"
  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.missioncontrol.controller.FilterEmployeesController">
  <children>
    <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">
      <graphic>
        <ImageView fitHeight="30.0" fitWidth="30.0" pickOnBounds="true" preserveRatio="true">
          <image>
            <Image url="/images/PlusButton.png"/>
          </image>
        </ImageView>
      </graphic>
    </Button>
  </children>
</AnchorPane>