-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.fxml
27 lines (24 loc) · 2.3 KB
/
sample.fxml
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane opacity="0.91" prefHeight="600.0" prefWidth="1068.0" style="-fx-background-image: C:\Users\SHREESHA MALLADI MG\Desktop\f.jpg; -fx-background-color: #20120F;" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
<children>
<AnchorPane layoutX="588.0" layoutY="100.0" prefHeight="400.0" prefWidth="300.0" style="-fx-background-color: #9C2B27;" AnchorPane.leftAnchor="588.0" AnchorPane.rightAnchor="212.0">
<children>
<Button layoutX="60.0" layoutY="257.0" mnemonicParsing="false" onAction="#logbutton" prefHeight="50.0" prefWidth="160.0" style="-fx-alignment: CENTER; -fx-background-color: #E45652;" text="LOGIN" underline="true" AnchorPane.leftAnchor="60.0" AnchorPane.rightAnchor="59.0" />
<Button layoutX="60.0" layoutY="113.0" mnemonicParsing="false" onAction="#selectionb" prefHeight="50.0" prefWidth="160.0" style="-fx-background-color: #E45652;" text="SIGN UP" underline="true" AnchorPane.leftAnchor="60.0" AnchorPane.rightAnchor="59.0" />
</children>
</AnchorPane>
<Label layoutX="33.0" layoutY="87.0" prefHeight="58.0" prefWidth="308.0" style="-fx-font-size: 29; -fx-font-family: system; -fx-font-style: regular; -fx-background-color: white;" text="Welcome to DAATHA......." AnchorPane.leftAnchor="100.0">
</Label>
<Button layoutX="69.0" layoutY="215.0" mnemonicParsing="false" prefHeight="32.0" prefWidth="334.0" style="-fx-background-color: #20120F;" text="which supplies left over food to the NGO's." textFill="#dad1d1" />
<Button layoutX="34.0" layoutY="183.0" mnemonicParsing="false" prefHeight="32.0" prefWidth="359.0" style="-fx-background-color: #20120F;" text="Daatha is a food sharing platform," textFill="#e4dddd" />
<ImageView fitHeight="221.0" fitWidth="254.0" layoutX="124.0" layoutY="309.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="124.0" AnchorPane.rightAnchor="708.5">
<image>
<Image url="@1.png" />
</image></ImageView>
</children>
</AnchorPane>