From 132de1062758b99acdc22555435b50c3ee1c4b35 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Sun, 10 Dec 2017 15:50:29 +0100
Subject: [PATCH] Fixed missing css bug

---
 src/userInterface/Main.java           | 3 +--
 src/userInterface/editGUI.fxml        | 2 +-
 src/userInterface/projektFenster.fxml | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/userInterface/Main.java b/src/userInterface/Main.java
index 30289f0..11b2eb2 100644
--- a/src/userInterface/Main.java
+++ b/src/userInterface/Main.java
@@ -30,10 +30,9 @@ public class Main extends Application
 			Parent root = (Parent)loader.load();
 
 			Scene scene = new Scene(root, 800, 800);
-			
+			scene.getStylesheets().add("/userInterface/application.css");
 			stage.setMinHeight(500);
 			stage.setMinWidth(700);
-
 			stage.setResizable(true);
 			stage.setTitle("SmartTime");
 			stage.setScene(scene);
diff --git a/src/userInterface/editGUI.fxml b/src/userInterface/editGUI.fxml
index b771f3d..ff6473b 100644
--- a/src/userInterface/editGUI.fxml
+++ b/src/userInterface/editGUI.fxml
@@ -6,7 +6,7 @@
 <?import javafx.scene.layout.AnchorPane?>
 <?import javafx.scene.text.Font?>
 
-<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="455.0" stylesheets="@../../class/userInterface/application.css" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="userInterface.EditController">
+<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="455.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="userInterface.EditController">
    <children>
       <Button layoutX="66.0" layoutY="221.0" mnemonicParsing="false" onAction="#okButton" prefWidth="92.0" text="OK">
          <font>
diff --git a/src/userInterface/projektFenster.fxml b/src/userInterface/projektFenster.fxml
index ffe339d..e81fcf4 100644
--- a/src/userInterface/projektFenster.fxml
+++ b/src/userInterface/projektFenster.fxml
@@ -6,7 +6,7 @@
 <?import javafx.scene.layout.AnchorPane?>
 <?import javafx.scene.text.Font?>
 
-<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="455.0" stylesheets="@../../class/userInterface/application.css" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="userInterface.ProjektFensterController">
+<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="455.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="userInterface.ProjektFensterController">
    <children>
       <Button layoutX="109.0" layoutY="223.0" mnemonicParsing="false" onAction="#okButton" prefWidth="100.0" text="OK">
          <font>
-- 
GitLab