diff --git a/src/main/resources/fxml/Meal_Plan.fxml b/src/main/resources/fxml/Meal_Plan.fxml index 162464779c601bd69471cf1029a8d929637a8a21..377ed8ea60a6147f0beec32241ea879ed07e697d 100644 --- a/src/main/resources/fxml/Meal_Plan.fxml +++ b/src/main/resources/fxml/Meal_Plan.fxml @@ -1,23 +1,28 @@ <?xml version="1.0" encoding="UTF-8"?> -<?import javafx.geometry.*?> -<?import javafx.scene.control.*?> +<?import javafx.geometry.Insets?> +<?import javafx.scene.control.ProgressBar?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> -<?import javafx.scene.layout.*?> -<?import javafx.scene.text.*?> -<AnchorPane fx:id="parent" prefHeight="540.0" prefWidth="872.0" xmlns="http://javafx.com/javafx/17.0.2-ea" - xmlns:fx="http://javafx.com/fxml/1" fx:controller="mi.hdm.controllers.MealPlanController"> +<?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.ColumnConstraints?> +<?import javafx.scene.layout.GridPane?> +<?import javafx.scene.layout.HBox?> +<?import javafx.scene.layout.RowConstraints?> +<?import javafx.scene.layout.VBox?> +<?import javafx.scene.text.Font?> +<?import javafx.scene.text.Text?> + +<AnchorPane fx:id="parent" prefHeight="540.0" prefWidth="872.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="mi.hdm.controllers.MealPlanController"> <children> - <HBox alignment="CENTER_LEFT" prefHeight="69.0" prefWidth="793.0" AnchorPane.leftAnchor="0.0" - AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> + <HBox alignment="CENTER_LEFT" prefHeight="69.0" prefWidth="793.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> <children> <ImageView fitHeight="35.0" fitWidth="50.0" pickOnBounds="true" preserveRatio="true"> <image> - <Image url="@../images/Tasty_Pages_Menu_Button.png"/> + <Image url="@../images/Tasty_Pages_Menu_Button.png" /> </image> <HBox.margin> - <Insets left="15.0" right="100.0"/> + <Insets left="15.0" right="100.0" /> </HBox.margin> </ImageView> <Text fill="#d91c1c" strokeType="OUTSIDE" strokeWidth="0.0" text="Meal Plan" wrappingWidth="184.53966265916824"> @@ -27,18 +32,17 @@ </Text> </children> </HBox> - <VBox layoutY="69.0" prefHeight="445.0" prefWidth="872.0" AnchorPane.leftAnchor="0.0" - AnchorPane.rightAnchor="0.0"> + <VBox layoutY="69.0" prefHeight="445.0" prefWidth="872.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"> <children> <GridPane hgap="8.0" prefHeight="197.0" prefWidth="190.0" vgap="8.0"> <columnConstraints> - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> </columnConstraints> <rowConstraints> <RowConstraints maxHeight="90.0" minHeight="10.0" prefHeight="49.999996185302734" vgrow="SOMETIMES" /> @@ -65,7 +69,7 @@ <Font name="Arial" size="17.0" /> </font> </Text> - <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0"> + <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0" style="-fx-background-color: d9d9d9; -fx-background-radius: 5; -fx-control-inner-background: a; -fx-accent: d91c1c;"> <HBox.margin> <Insets left="70.0" /> </HBox.margin> @@ -79,7 +83,7 @@ <Font name="Arial" size="17.0" /> </font> </Text> - <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0"> + <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0" style="-fx-background-color: d9d9d9; -fx-background-radius: 5; -fx-control-inner-background: a; -fx-accent: d91c1c;"> <HBox.margin> <Insets left="70.0" /> </HBox.margin> @@ -93,7 +97,7 @@ <Font name="Arial" size="17.0" /> </font> </Text> - <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0"> + <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0" style="-fx-background-color: d9d9d9; -fx-control-inner-background: a; -fx-background-radius: 5; -fx-accent: d91c1c;"> <HBox.margin> <Insets left="70.0" /> </HBox.margin> @@ -107,7 +111,7 @@ <Font name="Arial" size="17.0" /> </font> </Text> - <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0"> + <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0" style="-fx-background-color: d9d9d9; -fx-control-inner-background: a; -fx-background-radius: 5; -fx-accent: d91c1c;"> <HBox.margin> <Insets left="70.0" /> </HBox.margin> @@ -121,7 +125,7 @@ <Font name="Arial" size="17.0" /> </font> </Text> - <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0"> + <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0" style="-fx-background-color: d9d9d9; -fx-control-inner-background: a; -fx-background-radius: 5; -fx-accent: d91c1c;"> <HBox.margin> <Insets left="70.0" /> </HBox.margin> @@ -135,7 +139,7 @@ <Font name="Arial" size="17.0" /> </font> </Text> - <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0"> + <ProgressBar prefHeight="24.0" prefWidth="631.0" progress="0.0" style="-fx-background-color: d9d9d9; -fx-control-inner-background: a; -fx-background-radius: 5; -fx-accent: d91c1c;"> <HBox.margin> <Insets left="70.0" /> </HBox.margin>