diff options
author | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-09 21:59:26 -0600 |
---|---|---|
committer | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-09 21:59:26 -0600 |
commit | 5b321f0d403996f31b1d101bc24e582d8c0cb631 (patch) | |
tree | 0b71f33d33403083042bdcecbfa5c5177798557e /app/src/main/resources | |
parent | 7db4d246d920586edcc485d514d9651dcc370d67 (diff) | |
download | ServerCraft-5b321f0d403996f31b1d101bc24e582d8c0cb631.tar ServerCraft-5b321f0d403996f31b1d101bc24e582d8c0cb631.tar.gz ServerCraft-5b321f0d403996f31b1d101bc24e582d8c0cb631.tar.bz2 |
dialog working, download files working
Diffstat (limited to 'app/src/main/resources')
-rw-r--r-- | app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml | 24 | ||||
-rw-r--r-- | app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml | 8 |
2 files changed, 4 insertions, 28 deletions
diff --git a/app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml b/app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml deleted file mode 100644 index 6dab79a..0000000 --- a/app/src/main/resources/xyz/brysonsteck/serverfordummies/dialog.fxml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<?import javafx.geometry.Insets?> -<?import javafx.scene.control.Button?> -<?import javafx.scene.control.ButtonBar?> -<?import javafx.scene.control.Label?> -<?import javafx.scene.layout.Pane?> - - -<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1"> - <children> - <Pane fx:id="iconPane" layoutX="14.0" layoutY="14.0" prefHeight="82.0" prefWidth="82.0" /> - <Label fx:id="dialogLabel" layoutX="115.0" layoutY="40.0" text="Dialog Box" /> - <ButtonBar layoutY="157.0" prefHeight="43.0" prefWidth="400.0"> - <buttons> - <Button fx:id="otherButton" mnemonicParsing="false" text="Decline" /> - <Button fx:id="defaultButton" defaultButton="true" mnemonicParsing="false" text="Accept" /> - </buttons> - <padding> - <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> - </padding> - </ButtonBar> - </children> -</Pane> diff --git a/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml b/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml index c940d08..811ab8d 100644 --- a/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml +++ b/app/src/main/resources/xyz/brysonsteck/serverfordummies/primary.fxml @@ -19,9 +19,9 @@ <?import javafx.scene.layout.Pane?> <?import javafx.scene.text.Font?> -<Pane fx:id="primary" maxHeight="900.0" maxWidth="1500.0" minHeight="620.0" minWidth="963.0" prefHeight="708.0" prefWidth="963.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.serverfordummies.PrimaryController"> +<Pane fx:id="primary" maxHeight="713.0" maxWidth="963.0" minHeight="713.0" minWidth="963.0" prefHeight="713.0" prefWidth="963.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.serverfordummies.PrimaryController"> <children> - <HBox prefHeight="39.0" prefWidth="963.0"> + <HBox fx:id="directoryPane" prefHeight="39.0" prefWidth="963.0"> <children> <Button id="openFile" fx:id="chooseDirectoryButton" lineSpacing="10.0" mnemonicParsing="false" onMouseClicked="#onDirectoryButtonClick" text="Choose Directory..."> <opaqueInsets> @@ -220,8 +220,8 @@ </Pane> <ButtonBar fx:id="buttonBar" disable="true" layoutY="635.0" prefHeight="40.0" prefWidth="963.0"> <buttons> - <Button mnemonicParsing="false" onMouseClicked="#onBuild" text="Build Server" /> - <Button defaultButton="true" mnemonicParsing="false" text="Start Server" /> + <Button fx:id="buildButton" mnemonicParsing="false" onMouseClicked="#onBuild" text="Build Server" /> + <Button fx:id="startButton" defaultButton="true" mnemonicParsing="false" prefWidth="120.0" text="Start Server" /> </buttons> <padding> <Insets bottom="8.0" left="8.0" right="8.0" top="8.0" /> |