-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.fxml
47 lines (45 loc) · 3.1 KB
/
form.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.canvas.Canvas?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<GridPane alignment="center" hgap="10" prefHeight="500.0" prefWidth="1300.0" vgap="10" xmlns="http://javafx.com/javafx/8.0.102" xmlns:fx="http://javafx.com/fxml/1" fx:controller="postCard.Controller">
<columnConstraints>
<ColumnConstraints />
<ColumnConstraints />
<ColumnConstraints />
<ColumnConstraints />
<ColumnConstraints />
<ColumnConstraints />
<ColumnConstraints />
</columnConstraints>
<rowConstraints>
<RowConstraints />
<RowConstraints />
<RowConstraints />
<RowConstraints maxHeight="39.0" minHeight="10.0" prefHeight="39.0" />
<RowConstraints maxHeight="395.0" minHeight="371.0" prefHeight="371.0" />
<RowConstraints />
<RowConstraints />
</rowConstraints>
<children>
<Button fx:id="btn" mnemonicParsing="false" onAction="#pressBtn" text="redraw" GridPane.columnIndex="2" GridPane.rowIndex="6" />
<Canvas fx:id="cnv" height="400.0" width="800.0" GridPane.columnIndex="4" GridPane.rowIndex="4">
<GridPane.margin>
<Insets />
</GridPane.margin></Canvas>
<TextArea fx:id="textArea" onKeyReleased="#OnKeyReleasedTextAria" prefHeight="400.0" prefWidth="347.0" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Button fx:id="btn_svg" mnemonicParsing="false" onAction="#pressSvgBtn" text="open SVG" GridPane.columnIndex="4" GridPane.rowIndex="6" />
<Slider fx:id="slider" max="1.0" onMouseReleased="#OnMouseReleasedZoom" value="0.2" GridPane.columnIndex="4" GridPane.rowIndex="3" />
<ChoiceBox fx:id="choseBox" onContextMenuRequested="#OnContextMenuRequestedChoiceBox" onDragDone="#OnDragDoneChoiceBox" onDragDropped="#OnDragDroppedChoiceBox" onDragEntered="#OnDragEnteredChoiceBox" onMouseClicked="#OnMouseClickedChoiceBox" onMouseDragged="#OnMouseDraggedChoiceBox" onMouseEntered="#OnMouseEnteredChoiceBox" onMouseExited="#OnMouseExitedChoiceBox" onMousePressed="#OnMousePressedChoiceBox" onMouseReleased="#OnMouseReleasedChoiceBox" onScrollFinished="#OnScrollFinishedChoiceBox" onTouchReleased="#OnTouchReleasedChoiceBox" prefHeight="25.0" prefWidth="102.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label contentDisplay="CENTER" prefHeight="17.0" prefWidth="347.0" text="Select font number" textAlignment="CENTER" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label prefHeight="17.0" prefWidth="289.0" text="Zoom" textAlignment="CENTER" GridPane.columnIndex="4" GridPane.rowIndex="2" />
<Slider fx:id="line_dist_slider" max="50.0" onMouseReleased="#OnMouseReleasedLine" orientation="VERTICAL" prefHeight="371.0" prefWidth="52.0" value="20.0" GridPane.columnIndex="2" GridPane.rowIndex="4" />
</children>
</GridPane>