diff --git a/src/userInterface/Main.java b/src/userInterface/Main.java index 30289f0eb8144f4703bb56e2ea473cbd6778f7d8..11b2eb2a911aebe11b80d4b87fc0477b35d96631 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 b771f3d001fbf7db74737e1dd2cb8ae22782a140..ff6473bb56759fa7bb147f0290cfe6290f09b360 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 ffe339d64a6ee3e9349ac76c07a7daccad40bb75..e81fcf4ce99f4d60541f3e718a658ea7b632eba1 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>