-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHealthView.fxml
More file actions
112 lines (110 loc) · 7.42 KB
/
Copy pathHealthView.fxml
File metadata and controls
112 lines (110 loc) · 7.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.paint.LinearGradient?>
<?import javafx.scene.paint.Stop?>
<?import javafx.scene.text.Font?>
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="700.0" style="-fx-background-color: #320A28; -fx-border-color: #F2FDFF; -fx-border-width: 5px;" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="HealthController">
<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>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="50.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="200.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<TextField fx:id="txtIngred" alignment="CENTER" maxWidth="195.0" prefHeight="32.0" prefWidth="116.0" promptText="Enter Ingredients" style="-fx-border-color: #F8AE57; -fx-border-width: 3px; -fx-background-color: #F2FDFF;" text="Enter Ingredients" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.rowIndex="4">
<font>
<Font name="Century Gothic Bold" size="13.0" />
</font></TextField>
<Button fx:id="btnSearch" mnemonicParsing="false" onAction="#handleButtonAction" prefHeight="32.0" prefWidth="100.0" style="-fx-background-color: #F8AE57; -fx-font-weight: 700;" text="Search!" textAlignment="CENTER" textFill="#f2fdff" GridPane.columnIndex="2" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.rowIndex="4">
<font>
<Font name="Century Gothic" size="13.0" />
</font></Button>
<ImageView fx:id="icon" fitHeight="180.0" fitWidth="327.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.rowIndex="7" GridPane.valignment="CENTER" />
<Label alignment="CENTER" style="-fx-font-weight: 700;" text="RECIPEDIA" textAlignment="CENTER" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.rowIndex="1">
<font>
<Font name="Century Gothic" size="40.0" />
</font>
<textFill>
<LinearGradient endX="0.9952380952380953" endY="0.5714285714285714" startX="0.06666666666666668">
<stops>
<Stop color="#8e443d" />
<Stop color="#f8ae57" offset="1.0" />
</stops>
</LinearGradient>
</textFill>
</Label>
<Label alignment="CENTER" prefHeight="26.0" prefWidth="74.0" style="-fx-font-weight: 700; -fx-background-color: #8E443D; -fx-background-radius: 30;" text="Title:" textAlignment="CENTER" textFill="#f2fdff" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="6">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Label alignment="CENTER" prefHeight="26.0" prefWidth="115.0" style="-fx-font-weight: 700; -fx-background-color: #8E443D; -fx-background-radius: 30;" text="Ingredients" textAlignment="CENTER" textFill="#f2fdff" GridPane.halignment="RIGHT" GridPane.rowIndex="8">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Label alignment="CENTER" prefHeight="26.0" prefWidth="80.0" style="-fx-font-weight: 700; -fx-background-color: #8E443D; -fx-background-radius: 30;" text="Link" textAlignment="CENTER" textFill="#f2fdff" GridPane.halignment="RIGHT" GridPane.rowIndex="10">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Label alignment="CENTER" prefHeight="26.0" prefWidth="253.0" style="-fx-font-weight: 700;" text="HackDavis 2020 Project" textAlignment="CENTER" textFill="#f2fdff" GridPane.columnSpan="4" GridPane.halignment="CENTER" GridPane.rowIndex="2">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Label fx:id="lblIngred" alignment="CENTER" style="-fx-font-weight: 700;" textAlignment="CENTER" textFill="#f2fdff" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="8">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Label fx:id="lblLink" alignment="CENTER" style="-fx-font-weight: 700;" textAlignment="CENTER" textFill="#f2fdff" wrapText="true" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="10">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Label fx:id="lblTitle" alignment="CENTER" prefHeight="26.0" prefWidth="253.0" style="-fx-font-weight: 700;" textAlignment="CENTER" textFill="#f2fdff" GridPane.columnIndex="2" GridPane.rowIndex="6">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Label fx:id="lblLabel" alignment="CENTER" prefWidth="253.0" style="-fx-font-weight: 700;" textAlignment="CENTER" textFill="#f2fdff" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="12">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Label>
<Button fx:id="btnPrev" mnemonicParsing="false" onAction="#prevAction" prefHeight="32.0" prefWidth="100.0" style="-fx-background-color: #511730; -fx-font-weight: 700;" text="Previous" textAlignment="CENTER" textFill="#f2fdff" GridPane.columnIndex="1" GridPane.rowIndex="12">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Button>
<Button fx:id="btnNext" mnemonicParsing="false" onAction="#nextAction" prefHeight="32.0" prefWidth="100.0" style="-fx-background-color: #511730; -fx-font-weight: 700;" text="Next" textAlignment="CENTER" textFill="#f2fdff" GridPane.columnIndex="2" GridPane.rowIndex="12">
<font>
<Font name="Century Gothic" size="13.0" />
</font>
</Button>
</children>
</GridPane>