aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2023-05-20 20:23:44 -0600
committerBryson Steck <brysonsteck@protonmail.com>2023-05-20 20:23:44 -0600
commit208f971a6875392b21c6938c740f013c51b8941f (patch)
treeaaf5d64a48aad489fe755993a05e6a5fad60af8c
parent49311129e97a232074478c94db23a7285f106d99 (diff)
downloadServerCraft-208f971a6875392b21c6938c740f013c51b8941f.tar
ServerCraft-208f971a6875392b21c6938c740f013c51b8941f.tar.gz
ServerCraft-208f971a6875392b21c6938c740f013c51b8941f.tar.bz2
maybe fixed console dropdown?
-rw-r--r--build.gradle2
-rw-r--r--src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml6
2 files changed, 3 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle
index 3b908bf..3f916ac 100644
--- a/build.gradle
+++ b/build.gradle
@@ -127,8 +127,6 @@ build.doLast {
}
}
-// build.finalizedBy(fixAppImageIcon)
-
javafx {
version = "20"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.graphics']
diff --git a/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml b/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml
index cec0d2c..6967ba8 100644
--- a/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml
+++ b/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml
@@ -23,7 +23,7 @@
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
-<Pane fx:id="primary" maxHeight="873.0" maxWidth="963.0" minHeight="713.0" minWidth="963.0" prefHeight="873.0" prefWidth="963.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.ServerCraft.controllers.PrimaryController">
+<Pane fx:id="primary" maxHeight="1.7976931348623157E308" maxWidth="963.0" minHeight="713.0" minWidth="963.0" prefHeight="873.0" prefWidth="963.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.ServerCraft.controllers.PrimaryController">
<children>
<HBox fx:id="directoryPane" prefHeight="39.0" prefWidth="963.0">
<children>
@@ -339,7 +339,7 @@
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0" />
</padding>
</ButtonBar>
- <Pane layoutY="680.0" prefHeight="196.0" prefWidth="963.0" style="-fx-background-color: ddd;">
+ <Pane layoutY="680.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="196.0" prefWidth="963.0" style="-fx-background-color: ddd;">
<children>
<HBox prefWidth="963.0">
<children>
@@ -368,7 +368,7 @@
<Image url="@icons/arrow_down.png" />
</image>
</ImageView>
- <ScrollPane fx:id="scrollPane" layoutY="34.0" prefHeight="162.0" prefWidth="963.0">
+ <ScrollPane fx:id="scrollPane" fitToHeight="true" fitToWidth="true" layoutY="34.0" maxHeight="1.7976931348623157E308" prefHeight="162.0" prefWidth="963.0">
<padding>
<Insets bottom="7.0" left="7.0" right="7.0" top="7.0" />
</padding>