aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDominic Rogetzer <e1627756@student.tuwien.ac.at>2018-06-06 23:23:12 +0200
committerTharre <tharre3@gmail.com>2018-06-07 17:51:20 +0200
commit36338e196bf73831b99e19f3e820a8c9c69ede1d (patch)
treeb1b31e1fba17e4a2b17431d600e70c424ae08bdd /src/main
parente3b223975f7d455cf5444c959a10d8c05fb6e145 (diff)
downloadsepm-groupproject-36338e196bf73831b99e19f3e820a8c9c69ede1d.tar.gz
sepm-groupproject-36338e196bf73831b99e19f3e820a8c9c69ede1d.tar.xz
sepm-groupproject-36338e196bf73831b99e19f3e820a8c9c69ede1d.zip
Remove inline-style and replace with style classes [#25963]
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/fxml/employeeListItem.fxml11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/main/resources/fxml/employeeListItem.fxml b/src/main/resources/fxml/employeeListItem.fxml
index 8e446cb..eb5c95c 100644
--- a/src/main/resources/fxml/employeeListItem.fxml
+++ b/src/main/resources/fxml/employeeListItem.fxml
@@ -6,7 +6,7 @@
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
- prefHeight="96.0" prefWidth="360.0" style="-fx-background-color: white;"
+ prefHeight="96.0" prefWidth="360.0" styleClass="bg-white, shadowed"
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.EmployeeListItemController"
onMouseClicked="#onEmployeeClicked">
@@ -20,8 +20,9 @@
<HBox layoutX="10.0" layoutY="40.0" prefHeight="42.0" prefWidth="339.0"
AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="40.0">
<children>
- <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;">
+ <AnchorPane prefHeight="42.0" prefWidth="112.0">
<children>
+ <!-- TODO: update images to have transparent background! -->
<ImageView fx:id="imgQualification" fitHeight="25.0" fitWidth="25.0" layoutX="10.0"
layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0"
AnchorPane.topAnchor="10.0"/>
@@ -29,8 +30,9 @@
AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/>
</children>
</AnchorPane>
- <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;">
+ <AnchorPane prefHeight="42.0" prefWidth="112.0">
<children>
+ <!-- TODO: update images to have transparent background! -->
<ImageView fx:id="imgPilot" fitHeight="25.0" fitWidth="25.0" layoutX="10.0"
layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0"
AnchorPane.topAnchor="10.0"/>
@@ -38,8 +40,9 @@
AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/>
</children>
</AnchorPane>
- <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;">
+ <AnchorPane prefHeight="42.0" prefWidth="112.0">
<children>
+ <!-- TODO: update images to have transparent background! -->
<ImageView fx:id="imgDriver" fitHeight="25.0" fitWidth="25.0" layoutX="10.0"
layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0"
AnchorPane.topAnchor="10.0"/>