AboutDialog.fxml 2.32 KB
Newer Older
Alexander Weigl's avatar
Alexander Weigl committed
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
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.Font?>
<BorderPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.121"
            xmlns:fx="http://javafx.com/fxml/1" fx:controller="edu.kit.iti.formal.psdbg.gui.controls.AboutDialog">
    <top>
        <VBox spacing="10.0" style="-fx-background-color: white;">
            <Label text="${controller.programName}">
                <VBox.margin>
                    <Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
                </VBox.margin>
                <font>
                    <Font name="System Bold" size="24.0"/>
                </font>
            </Label>
            <Label text="${controller.subtitle}">
                <VBox.margin>
                    <Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
                </VBox.margin>
                <font>
                    <Font name="System Italic" size="18.0"/>
                </font>
            </Label>
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0"/>
            </padding>
            <BorderPane.margin>
                <Insets/>
            </BorderPane.margin>
        </VBox>
    </top>
    <center>
        <TabPane prefHeight="200.0" prefWidth="200.0" tabClosingPolicy="UNAVAILABLE"
                 BorderPane.alignment="CENTER">
            <tabs>
                <Tab text="About PSDBG">
                    <content>
Alexander Weigl's avatar
Alexander Weigl committed
41
                        <TextArea text="${controller.aboutText}"/>
Alexander Weigl's avatar
Alexander Weigl committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
                    </content>
                </Tab>
                <Tab text="License">
                    <content>
                        <TextArea text="${controller.license}"/>
                    </content>
                </Tab>
                <!--
                <Tab text="KeY License">
                    <content>
                        <TextArea text="${controller.keyLicense}"/>
                    </content>
                </Tab>
                -->
                <Tab text="Third Party License">
                    <content>
                        <TextArea text="${controller.thridPartyLicense}"/>
                    </content>
                </Tab>
            </tabs>
        </TabPane>
    </center>
</BorderPane>