ADD: added simple layout and first subscene
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
.my-pane-border {
|
||||
-fx-border-color: blue;
|
||||
-fx-border-width: 2px;
|
||||
-fx-border-style: solid;
|
||||
}
|
||||
@@ -39,22 +39,25 @@
|
||||
<?import javafx.scene.control.MenuBar?>
|
||||
<?import javafx.scene.control.MenuItem?>
|
||||
<?import javafx.scene.control.SeparatorMenuItem?>
|
||||
<?import javafx.scene.control.SplitPane?>
|
||||
<?import javafx.scene.control.TitledPane?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/24.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.winkel.damagecontrol.MainController">
|
||||
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1080.0" prefWidth="1920.0" xmlns="http://javafx.com/javafx/24.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.winkel.damagecontrol.MainController">
|
||||
<children>
|
||||
<AnchorPane maxHeight="25.0" prefHeight="25.0">
|
||||
<children>
|
||||
<HBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<AnchorPane>
|
||||
<AnchorPane HBox.hgrow="ALWAYS">
|
||||
<children>
|
||||
<MenuBar AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<MenuBar AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
@@ -108,42 +111,56 @@
|
||||
</AnchorPane>
|
||||
<AnchorPane VBox.vgrow="ALWAYS">
|
||||
<children>
|
||||
<HBox layoutX="604.0" layoutY="14.0" prefHeight="648.0" prefWidth="1098.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<GridPane stylesheets="@SimplePaneStyle.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<AnchorPane>
|
||||
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.rowSpan="4">
|
||||
<children>
|
||||
<Pane prefHeight="648.0" prefWidth="705.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<Label text="Label" />
|
||||
</children>
|
||||
</Pane>
|
||||
<fx:include source="wariningsBoard.fxml" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" GridPane.halignment="CENTER" GridPane.rowSpan="4" GridPane.valignment="CENTER" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane prefHeight="648.0" prefWidth="558.0" HBox.hgrow="ALWAYS">
|
||||
<TitledPane animated="false" collapsible="false" styleClass="my-pane-border" text="TOP 3 Schiff" textOverrun="CLIP" GridPane.columnIndex="1" GridPane.columnSpan="4">
|
||||
<content>
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" />
|
||||
</content>
|
||||
</TitledPane>
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="7">
|
||||
<children>
|
||||
<SplitPane dividerPositions="0.28527131782945736, 0.6232558139534884" orientation="VERTICAL" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<items>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="212.0" prefWidth="548.0">
|
||||
<children>
|
||||
<Label layoutX="14.0" layoutY="6.0" text="Top 3 Schiff" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="10.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane prefHeight="279.0" prefWidth="310.0">
|
||||
<children>
|
||||
<Label layoutX="14.0" layoutY="6.0" text="ETBOL's" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="10.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="154.0" prefWidth="161.0">
|
||||
<children>
|
||||
<Label layoutX="8.0" layoutY="6.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" text="Command Aim" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="10.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</items>
|
||||
</SplitPane>
|
||||
<Label layoutX="38.0" layoutY="44.0" prefHeight="60.0" prefWidth="189.0" text="tie and bach to main" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</Pane>
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="5" GridPane.columnSpan="2" GridPane.rowSpan="2">
|
||||
<children>
|
||||
<Label layoutX="146.0" layoutY="70.0" text="command aim" />
|
||||
</children>
|
||||
</Pane>
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnSpan="3" GridPane.rowIndex="4" />
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnSpan="3" GridPane.rowIndex="5" />
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="1" GridPane.columnSpan="4" GridPane.rowIndex="1" GridPane.rowSpan="2" />
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="5" GridPane.columnSpan="2" GridPane.rowIndex="2" />
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="3" GridPane.columnSpan="4" GridPane.rowIndex="5" />
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="7" GridPane.rowIndex="2" GridPane.rowSpan="4" />
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="3" GridPane.columnSpan="4" GridPane.rowIndex="3" GridPane.rowSpan="2" />
|
||||
<Pane prefHeight="200.0" prefWidth="200.0" styleClass="my-pane-border" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="3" />
|
||||
</children>
|
||||
</HBox>
|
||||
</GridPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane maxHeight="24.0" prefHeight="24.0">
|
||||
|
||||
94
target/classes/org/winkel/damagecontrol/wariningsBoard.fxml
Normal file
94
target/classes/org/winkel/damagecontrol/wariningsBoard.fxml
Normal file
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="200.0" xmlns="http://javafx.com/javafx/24.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<AnchorPane>
|
||||
<children>
|
||||
<VBox prefHeight="400.0" prefWidth="200.0" AnchorPane.bottomAnchor="-198.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="-98.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<GridPane alignment="CENTER" gridLinesVisible="true">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="90.40001220703125" minWidth="10.0" prefWidth="90.40001220703125" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="78.59995880126952" minWidth="10.0" prefWidth="55.99998779296875" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="84.20001220703125" minWidth="10.0" prefWidth="57.80004119873047" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="AIR" GridPane.halignment="CENTER" />
|
||||
<Button alignment="CENTER" mnemonicParsing="false" text="SURF" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Button mnemonicParsing="false" text="Button" GridPane.halignment="CENTER" GridPane.rowIndex="2" />
|
||||
<Button mnemonicParsing="false" text="Button" GridPane.rowIndex="3" />
|
||||
<Button mnemonicParsing="false" text="Button" GridPane.rowIndex="4" />
|
||||
<Button mnemonicParsing="false" text="Button" GridPane.rowIndex="5" />
|
||||
</children>
|
||||
</GridPane>
|
||||
<Pane prefHeight="44.0" prefWidth="200.0" />
|
||||
<Pane prefHeight="25.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Label text="Quiet State" />
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0" spacing="10.0">
|
||||
<children>
|
||||
<Pane>
|
||||
<children>
|
||||
<Label prefHeight="18.0" prefWidth="202.0" text="Support" />
|
||||
</children>
|
||||
</Pane>
|
||||
<GridPane alignment="CENTER" prefHeight="58.0" prefWidth="200.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Button alignment="CENTER" contentDisplay="CENTER" mnemonicParsing="false" text="Button" GridPane.halignment="CENTER" />
|
||||
<Button contentDisplay="CENTER" mnemonicParsing="false" text="Button" GridPane.columnIndex="1" GridPane.halignment="CENTER" />
|
||||
<Button mnemonicParsing="false" text="Button" GridPane.columnIndex="2" GridPane.halignment="CENTER" />
|
||||
</children>
|
||||
</GridPane>
|
||||
<GridPane>
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
</GridPane>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
</Pane>
|
||||
Reference in New Issue
Block a user