|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 |
|
| 3 | +<?import javafx.geometry.Insets?> |
3 | 4 | <?import javafx.scene.control.Button?>
|
4 | 5 | <?import javafx.scene.control.Label?>
|
5 | 6 | <?import javafx.scene.control.Separator?>
|
6 | 7 | <?import javafx.scene.control.TextField?>
|
7 | 8 | <?import javafx.scene.layout.AnchorPane?>
|
| 9 | +<?import javafx.scene.layout.ColumnConstraints?> |
| 10 | +<?import javafx.scene.layout.GridPane?> |
| 11 | +<?import javafx.scene.layout.RowConstraints?> |
8 | 12 | <?import javafx.scene.text.Font?>
|
9 |
| -<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="181.0" prefWidth="500.0" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.github.introfog.gitwave.controller.SettingsController"> |
| 13 | +<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="550.0" style="-fx-font-family: verdana; -fx-font-size: 12;" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.github.introfog.gitwave.controller.SettingsController"> |
10 | 14 | <children>
|
11 |
| - <Label layoutX="14.0" layoutY="20.0" prefHeight="17.0" prefWidth="409.0" text="Path to bash.exe on your PC (usually "PATH_TO_GIT/bin/bash.exe")." /> |
12 |
| - <TextField fx:id="pathToBashExe" layoutX="14.0" layoutY="46.0" prefHeight="25.0" prefWidth="409.0" /> |
13 |
| - <Button layoutX="431.0" layoutY="46.0" mnemonicParsing="false" onAction="#browseGitBashExe" text="Browse" /> |
14 |
| - <Button fx:id="save" layoutX="245.0" layoutY="142.0" mnemonicParsing="false" onAction="#save" text="Save" /> |
15 |
| - <Label layoutX="14.0" layoutY="97.0" text="Remove all logs from "logs" folder" /> |
16 |
| - <Button layoutX="219.0" layoutY="93.0" mnemonicParsing="false" onAction="#cleanLogs" text="Clean" /> |
17 |
| - <Separator layoutX="14.0" layoutY="80.0" prefWidth="472.0" /> |
18 |
| - <Separator layoutX="14.0" layoutY="130.0" prefWidth="472.0" /> |
19 |
| - <Label fx:id="done" layoutX="280.0" layoutY="97.0" text="Done!" textFill="#34cd4b"> |
20 |
| - <font> |
21 |
| - <Font name="System Bold" size="12.0" /> |
22 |
| - </font></Label> |
| 15 | + <GridPane AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 16 | + <columnConstraints> |
| 17 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
| 18 | + </columnConstraints> |
| 19 | + <rowConstraints> |
| 20 | + <RowConstraints maxHeight="70.0" minHeight="70.0" prefHeight="70.0" vgrow="NEVER" /> |
| 21 | + <RowConstraints maxHeight="55.0" minHeight="55.0" prefHeight="55.0" vgrow="SOMETIMES" /> |
| 22 | + <RowConstraints maxHeight="1.7976931348623157E308" minHeight="0.0" prefHeight="0.0" vgrow="ALWAYS" /> |
| 23 | + <RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" /> |
| 24 | + </rowConstraints> |
| 25 | + <children> |
| 26 | + <AnchorPane prefHeight="200.0" prefWidth="200.0"> |
| 27 | + <children> |
| 28 | + <Label prefHeight="17.0" prefWidth="430.0" text="Path to bash.exe on your PC (usually "PATH_TO_GIT/bin/bash.exe")." AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" /> |
| 29 | + <Button mnemonicParsing="false" onAction="#browseGitBashExe" text="Browse" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="30.0"> |
| 30 | + <font> |
| 31 | + <Font name="Verdana" size="12.0" /> |
| 32 | + </font> |
| 33 | + </Button> |
| 34 | + <Separator prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" /> |
| 35 | + <TextField fx:id="pathToBashExe" prefHeight="25.0" prefWidth="426.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="80.0" AnchorPane.topAnchor="30.0" /> |
| 36 | + </children> |
| 37 | + </AnchorPane> |
| 38 | + <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1"> |
| 39 | + <children> |
| 40 | + <Label text="Remove all logs from "logs" folder" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="20.0" /> |
| 41 | + <Button mnemonicParsing="false" onAction="#cleanLogs" text="Clean" AnchorPane.leftAnchor="215.0" AnchorPane.topAnchor="16.0" /> |
| 42 | + <Label fx:id="done" text="Done!" textFill="#34cd4b" AnchorPane.leftAnchor="280.0" AnchorPane.topAnchor="20.0"> |
| 43 | + <font> |
| 44 | + <Font name="Verdana Bold" size="12.0" /> |
| 45 | + </font> |
| 46 | + </Label> |
| 47 | + <Separator prefWidth="472.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" /> |
| 48 | + </children> |
| 49 | + </AnchorPane> |
| 50 | + <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="3"> |
| 51 | + <children> |
| 52 | + <Button fx:id="save" mnemonicParsing="false" onAction="#save" text="Save" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0"> |
| 53 | + <font> |
| 54 | + <Font name="Verdana" size="12.0" /> |
| 55 | + </font> |
| 56 | + </Button> |
| 57 | + </children> |
| 58 | + </AnchorPane> |
| 59 | + </children> |
| 60 | + </GridPane> |
23 | 61 | </children>
|
| 62 | + <padding> |
| 63 | + <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" /> |
| 64 | + </padding> |
24 | 65 | </AnchorPane>
|
0 commit comments