-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.fxml
More file actions
46 lines (44 loc) · 2.36 KB
/
sample.fxml
File metadata and controls
46 lines (44 loc) · 2.36 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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="498.0" prefWidth="320.0" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
<children>
<TextField fx:id="textField1" alignment="BOTTOM_RIGHT" prefHeight="95.0" prefWidth="320.0">
<font>
<Font size="24.0" />
</font></TextField>
<HBox layoutY="196.0" prefHeight="49.0" prefWidth="320.0" />
<HBox layoutX="-1.0" layoutY="246.0" prefHeight="49.0" prefWidth="320.0" />
<HBox layoutX="1.0" layoutY="296.0" prefHeight="49.0" prefWidth="320.0" />
<HBox layoutY="346.0" prefHeight="49.0" prefWidth="320.0" />
<HBox layoutX="1.0" layoutY="396.0" prefHeight="49.0" prefWidth="320.0">
<children>
<Button mnemonicParsing="false" onAction="#btn1Action" prefHeight="49.0" prefWidth="79.0" text="1">
<HBox.margin>
<Insets bottom="1.0" left="1.0" right="1.0" top="1.0" />
</HBox.margin>
</Button>
<Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" onAction="#btn2Action" prefHeight="49.0" prefWidth="79.0" text="2">
<HBox.margin>
<Insets bottom="1.0" left="1.0" right="1.0" top="1.0" />
</HBox.margin>
</Button>
<Button layoutX="93.0" layoutY="10.0" mnemonicParsing="false" onAction="#btn3Action" prefHeight="49.0" prefWidth="79.0" text="3">
<HBox.margin>
<Insets bottom="1.0" left="1.0" right="1.0" top="1.0" />
</HBox.margin>
</Button>
<Button layoutX="175.0" layoutY="10.0" mnemonicParsing="false" onAction="#btnPlusAction" prefHeight="49.0" prefWidth="79.0" text="+">
<HBox.margin>
<Insets bottom="1.0" left="1.0" right="1.0" top="1.0" />
</HBox.margin>
</Button>
</children>
</HBox>
<HBox layoutX="1.0" layoutY="448.0" prefHeight="49.0" prefWidth="320.0" />
</children>
</AnchorPane>