Skip to content

Commit 3835b41

Browse files
committed
Reorganize UI
1 parent 468428f commit 3835b41

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/main/resources/fxml/main.fxml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
~ Copyright (C) 2021 Emerson Pinter - All Rights Reserved
2323
-->
2424

25-
<VBox fx:id="rootelement" alignment="TOP_CENTER" maxHeight="940.0" maxWidth="1320.0" minHeight="470.0" minWidth="720.0" prefHeight="470.0" prefWidth="720.0" stylesheets="@main.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="br.com.pinter.tqrespec.gui.MainController">
25+
<VBox fx:id="rootelement" alignment="TOP_CENTER" maxHeight="940.0" maxWidth="1320.0" minHeight="570.0" minWidth="720.0" prefHeight="570.0" prefWidth="720.0" stylesheets="@main.css" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="br.com.pinter.tqrespec.gui.MainController">
2626
<children>
2727
<HBox fx:id="tophbox" fillHeight="false" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" onMouseDragged="#moveWindow" onMousePressed="#startMoveWindow" onMouseReleased="#endMoveWindow" prefHeight="47.0" styleClass="tq-topdecoration" VBox.vgrow="ALWAYS">
2828
<children>
@@ -57,36 +57,36 @@
5757
<children>
5858
<GridPane prefHeight="75.0" prefWidth="637.0">
5959
<columnConstraints>
60+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="70.0" />
6061
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="9.0" prefWidth="100.0" />
6162
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="9.0" prefWidth="100.0" />
6263
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="80.0" />
63-
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="70.0" />
6464
</columnConstraints>
6565
<rowConstraints>
6666
<RowConstraints maxHeight="68.0" minHeight="10.0" prefHeight="48.0" vgrow="SOMETIMES" />
6767
<RowConstraints maxHeight="27.0" minHeight="10.0" prefHeight="27.0" vgrow="SOMETIMES" />
6868
</rowConstraints>
6969
<children>
70-
<Label alignment="BOTTOM_RIGHT" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" onMouseClicked="#openAboutWindow" styleClass="tq-bigtitle" text="TQ Respec" textAlignment="RIGHT" GridPane.columnIndex="3" GridPane.halignment="LEFT" GridPane.valignment="BOTTOM">
70+
<Label alignment="BOTTOM_LEFT" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" onMouseClicked="#openAboutWindow" styleClass="tq-bigtitle" text="TQ Respec" GridPane.halignment="LEFT" GridPane.valignment="BOTTOM">
7171
<GridPane.margin>
7272
<Insets />
7373
</GridPane.margin>
7474
<padding>
7575
<Insets right="5.0" />
7676
</padding>
7777
</Label>
78-
<Hyperlink fx:id="versionCheck" alignment="CENTER_RIGHT" maxHeight="26.0" maxWidth="1.7976931348623157E308" prefHeight="26.0" styleClass="tq-versioncheck" GridPane.columnIndex="3" GridPane.halignment="RIGHT" GridPane.rowIndex="1" GridPane.valignment="TOP" />
79-
<ComboBox fx:id="characterCombo" maxWidth="1.7976931348623157E308" onAction="#characterSelected" prefHeight="32.0" promptText="%main.labelselectchar" styleClass="tq-charactercombo" stylesheets="@main.css" GridPane.columnIndex="2" GridPane.hgrow="ALWAYS" GridPane.rowSpan="2" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS">
78+
<Hyperlink fx:id="versionCheck" maxHeight="26.0" maxWidth="1.7976931348623157E308" prefHeight="26.0" styleClass="tq-versioncheck" GridPane.halignment="RIGHT" GridPane.rowIndex="1" GridPane.valignment="TOP" />
79+
<ComboBox fx:id="characterCombo" maxWidth="1.7976931348623157E308" onAction="#characterSelected" prefHeight="32.0" promptText="%main.labelselectchar" styleClass="tq-charactercombo" stylesheets="@main.css" GridPane.columnIndex="3" GridPane.hgrow="ALWAYS" GridPane.rowSpan="2" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS">
8080
<GridPane.margin>
8181
<Insets bottom="5.0" left="10.0" right="10.0" />
8282
</GridPane.margin>
8383
</ComboBox>
84-
<Button fx:id="resetButton" alignment="CENTER" contentDisplay="GRAPHIC_ONLY" maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#resetButtonClicked" prefHeight="32.0" styleClass="tq-resetbutton" text="Reset" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowSpan="2" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS">
84+
<Button fx:id="resetButton" alignment="CENTER" contentDisplay="GRAPHIC_ONLY" maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#resetButtonClicked" prefHeight="32.0" styleClass="tq-resetbutton" text="Reset" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowSpan="2" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS">
8585
<GridPane.margin>
8686
<Insets bottom="4.0" />
8787
</GridPane.margin>
8888
</Button>
89-
<Button fx:id="charactersButton" alignment="CENTER" contentDisplay="GRAPHIC_ONLY" mnemonicParsing="false" onAction="#openCharactersWindow" prefHeight="32.0" styleClass="tq-charactersbutton" text="Characters" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowSpan="2" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS">
89+
<Button fx:id="charactersButton" alignment="CENTER" contentDisplay="GRAPHIC_ONLY" mnemonicParsing="false" onAction="#openCharactersWindow" prefHeight="32.0" styleClass="tq-charactersbutton" text="Characters" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowSpan="2" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS">
9090
<GridPane.margin>
9191
<Insets bottom="4.0" />
9292
</GridPane.margin></Button>
@@ -98,7 +98,7 @@
9898
<Insets />
9999
</VBox.margin>
100100
</GridPane>
101-
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="270.0" side="LEFT" styleClass="tq-tabpane" tabMaxHeight="100.0" tabMaxWidth="100.0" VBox.vgrow="ALWAYS">
101+
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="270.0" styleClass="tq-tabpane" tabMaxHeight="100.0" tabMaxWidth="100.0" VBox.vgrow="ALWAYS">
102102
<tabs>
103103
<Tab fx:id="attributesTab" closable="false" styleClass="tq-tabbutton" text="%main.attributesTab">
104104
<content>
@@ -117,7 +117,7 @@
117117
</Tab>
118118
</tabs>
119119
<padding>
120-
<Insets right="48.0" />
120+
<Insets left="48.0" right="48.0" />
121121
</padding>
122122
</TabPane>
123123
<GridPane>

0 commit comments

Comments
 (0)