ViewSettings.fxml 2.08 KB
Newer Older
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.layout.*?>

Lulu Luong's avatar
Lulu Luong committed
5 6 7 8
<?import javafx.scene.text.Text?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.Button?>
<?import javafx.geometry.Insets?>
9
<fx:root type="javafx.scene.layout.BorderPane" xmlns:fx="http://javafx.com/fxml/1" fx:id="rootPane"
Lulu Luong's avatar
Lulu Luong committed
10
         xmlns="http://javafx.com/javafx/8.0.112 ">
11

Lulu Luong's avatar
Lulu Luong committed
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
    <center>
        <GridPane alignment="center" hgap="10" vgap="10">
            <padding>
                <Insets top="25" right="25" bottom="25" left="25"/>
            </padding>

            <Text text="All font sizes:" style="-fx-font-weight: bold;" GridPane.columnIndex="0"
                  GridPane.rowIndex="0"></Text>
            <TextField fx:id="allSizes" GridPane.columnIndex="1" GridPane.rowIndex="0"></TextField>

            <Text text="Edit font size" style="-fx-font-weight: bold;" GridPane.rowIndex="2"></Text>

            <Text text="Script Area:" GridPane.columnIndex="0" GridPane.rowIndex="3"></Text>
            <TextField fx:id="scriptAreaSize" GridPane.columnIndex="1" GridPane.rowIndex="3"></TextField>

            <Text text="Context Area:" GridPane.columnIndex="0" GridPane.rowIndex="4"></Text>
            <TextField fx:id="contextAreaSize" GridPane.columnIndex="1" GridPane.rowIndex="4"></TextField>

            <Text text="Sequent:" GridPane.columnIndex="0" GridPane.rowIndex="5"></Text>
            <TextField fx:id="sequentSize" GridPane.columnIndex="1" GridPane.rowIndex="5"></TextField>

            <Text text="Java Code:" GridPane.columnIndex="0" GridPane.rowIndex="6"></Text>
            <TextField fx:id="javaCodeSize" GridPane.columnIndex="1" GridPane.rowIndex="6"></TextField>

        </GridPane>

    </center>
    <bottom>
        <BorderPane>
            <padding>
                <Insets top="5" right="25" bottom="15" left="25"/>
            </padding>
            <left>
                <Button fx:id="reset" text="Reset"></Button>
            </left>
            <right>
                <Button fx:id="apply" text="Apply"></Button>
            </right>
        </BorderPane>
    </bottom>
52 53
</fx:root>