Skip to content
Snippets Groups Projects
Commit 132de106 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed missing css bug

parent a3f7445c
Branches
Tags
No related merge requests found
...@@ -30,10 +30,9 @@ public class Main extends Application ...@@ -30,10 +30,9 @@ public class Main extends Application
Parent root = (Parent)loader.load(); Parent root = (Parent)loader.load();
Scene scene = new Scene(root, 800, 800); Scene scene = new Scene(root, 800, 800);
scene.getStylesheets().add("/userInterface/application.css");
stage.setMinHeight(500); stage.setMinHeight(500);
stage.setMinWidth(700); stage.setMinWidth(700);
stage.setResizable(true); stage.setResizable(true);
stage.setTitle("SmartTime"); stage.setTitle("SmartTime");
stage.setScene(scene); stage.setScene(scene);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?> <?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> <children>
<Button layoutX="66.0" layoutY="221.0" mnemonicParsing="false" onAction="#okButton" prefWidth="92.0" text="OK"> <Button layoutX="66.0" layoutY="221.0" mnemonicParsing="false" onAction="#okButton" prefWidth="92.0" text="OK">
<font> <font>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?> <?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> <children>
<Button layoutX="109.0" layoutY="223.0" mnemonicParsing="false" onAction="#okButton" prefWidth="100.0" text="OK"> <Button layoutX="109.0" layoutY="223.0" mnemonicParsing="false" onAction="#okButton" prefWidth="100.0" text="OK">
<font> <font>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment