-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.fxml
29 lines (28 loc) · 1.81 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
28
29
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.Cursor?>
<?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 fx:id="wrapper" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="534.0" prefWidth="823.0" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="sample.Controller">
<children>
<Label id="quote" fx:id="quote" alignment="CENTER" contentDisplay="CENTER" layoutX="50.0" layoutY="25.0" lineSpacing="10.0" prefHeight="414.0" prefWidth="730.0" style="-fx-font: normal 28px Ubuntu;" text="Click next to start..." textAlignment="CENTER" wrapText="true">
<padding>
<Insets left="10.0" right="10.0" />
</padding>
</Label>
<ImageView fx:id="profile" fitHeight="60.0" fitWidth="60.0" layoutX="737.0" layoutY="14.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@user.png" />
</image>
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
</ImageView>
<Button fx:id="nextBtn" layoutX="606.0" layoutY="446.0" mnemonicParsing="false" prefHeight="62.0" prefWidth="191.0" style="-fx-font: bold 20px Ubuntu;" text="Next >" />
<Button fx:id="bookmarkBtn" disable="true" layoutX="236.0" layoutY="446.0" mnemonicParsing="false" prefHeight="62.0" prefWidth="356.0" style="-fx-font: bold 20px Ubuntu;" text="Bookmark +" />
<Button fx:id="prevBtn" disable="true" layoutX="30.0" layoutY="446.0" mnemonicParsing="false" prefHeight="62.0" prefWidth="191.0" style="-fx-font: bold 20px Ubuntu;" text="< Previous" />
</children>
</AnchorPane>