143 lines
7.8 KiB
XML
143 lines
7.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.ScrollPane?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?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?>
|
|
|
|
|
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="785.0" prefWidth="899.0"
|
|
xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ch.zhaw.gartenverwaltung.CropDetailController">
|
|
<children>
|
|
<ScrollPane fitToWidth="true" prefHeight="759.0" prefWidth="664.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<content>
|
|
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="503.0" prefWidth="897.0">
|
|
<padding>
|
|
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
|
</padding>
|
|
<children>
|
|
<Button mnemonicParsing="false" onAction="#goBack" prefHeight="25.0" prefWidth="91.0" text="Go Back">
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" />
|
|
</VBox.margin>
|
|
</Button>
|
|
<Label fx:id="cropName_label" text="Label">
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<HBox prefHeight="265.0" prefWidth="879.0">
|
|
<children>
|
|
<GridPane maxWidth="1.7976931348623157E308" prefHeight="296.0" prefWidth="577.0" HBox.hgrow="ALWAYS">
|
|
<columnConstraints>
|
|
<ColumnConstraints halignment="LEFT" hgrow="SOMETIMES" maxWidth="284.0" minWidth="10.0" prefWidth="97.33334350585938" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="488.99999237060547" minWidth="10.0" prefWidth="481.9999898274739" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="149.66665903727215" minHeight="10.0" prefHeight="149.66665903727215" valignment="TOP" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="187.9999647140503" minHeight="10.0" prefHeight="51.00000762939453" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="105.66662597656247" minHeight="10.0" prefHeight="54.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="105.66662597656247" minHeight="10.0" prefHeight="46.66666666666666" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<children>
|
|
<Label prefHeight="17.0" prefWidth="65.0" text="Description:">
|
|
<GridPane.margin>
|
|
<Insets top="10.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label text="Light-Level:" GridPane.rowIndex="1" />
|
|
<Label text="Spacing:" GridPane.rowIndex="2" />
|
|
<Label text="Soil-Type:" GridPane.rowIndex="3" />
|
|
<Label fx:id="description_label" text="Label" wrapText="true" GridPane.columnIndex="1">
|
|
<GridPane.margin>
|
|
<Insets left="10.0" top="10.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label fx:id="light_label" text="Label" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<GridPane.margin>
|
|
<Insets left="10.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label fx:id="spacing_label" text="Label" GridPane.columnIndex="1" GridPane.rowIndex="2">
|
|
<GridPane.margin>
|
|
<Insets left="10.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label fx:id="soil_label" text="Label" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
|
<GridPane.margin>
|
|
<Insets left="10.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
</children>
|
|
</GridPane>
|
|
<ImageView fx:id="imageView" fitHeight="300.0" fitWidth="300.0" pickOnBounds="true" preserveRatio="true" HBox.hgrow="NEVER" />
|
|
</children>
|
|
</HBox>
|
|
<Label text="Growth Phases:">
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<VBox fx:id="growthPhases_vbox" prefHeight="135.0" prefWidth="879.0">
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" />
|
|
</VBox.margin>
|
|
</VBox>
|
|
<Button mnemonicParsing="false" onAction="#editTaskList" prefHeight="25.0" prefWidth="92.0" text="Edit Tasklist">
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" />
|
|
</VBox.margin>
|
|
</Button>
|
|
<Label text="Pests:" />
|
|
<VBox fx:id="pests_vbox" prefHeight="200.0" prefWidth="100.0">
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" />
|
|
</VBox.margin>
|
|
</VBox>
|
|
<HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0" VBox.vgrow="NEVER">
|
|
<children>
|
|
<Label text="Area:">
|
|
<HBox.margin>
|
|
<Insets right="60.0" />
|
|
</HBox.margin>
|
|
</Label>
|
|
<Label fx:id="area_label" text="Label">
|
|
<HBox.margin>
|
|
<Insets right="10.0" />
|
|
</HBox.margin>
|
|
</Label>
|
|
<Button fx:id="area_button" mnemonicParsing="false" onAction="#setArea" prefHeight="25.0" prefWidth="116.0" text="Add Area" />
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
<HBox alignment="CENTER_LEFT" layoutX="20.0" layoutY="719.0" prefHeight="100.0" prefWidth="200.0" VBox.vgrow="NEVER">
|
|
<children>
|
|
<Label text="Location:">
|
|
<HBox.margin>
|
|
<Insets right="40.0" />
|
|
</HBox.margin>
|
|
</Label>
|
|
<Label fx:id="location_label" text="Label">
|
|
<HBox.margin>
|
|
<Insets right="10.0" />
|
|
</HBox.margin>
|
|
</Label>
|
|
<Button fx:id="location_button" mnemonicParsing="false" onAction="#setLocation" prefHeight="25.0" prefWidth="115.0" text="Add Location" />
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|
|
</content>
|
|
</ScrollPane>
|
|
</children>
|
|
</AnchorPane>
|