aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2024-09-07 14:41:35 -0400
committersowgro <tpoke.ferrari@gmail.com>2024-09-07 14:41:35 -0400
commit132c961a01ca9ba44a064741ee58a012bce2908e (patch)
tree4935af8df37fdc93cce69dea5ca9ffeaf98d9748 /src/main/java/net/sowgro/npehero/editor/DiffEditor.java
parentf242db8ae77188951e261e0d4b3ce84304663a31 (diff)
downloadNPEhero-132c961a01ca9ba44a064741ee58a012bce2908e.tar.gz
NPEhero-132c961a01ca9ba44a064741ee58a012bce2908e.tar.bz2
NPEhero-132c961a01ca9ba44a064741ee58a012bce2908e.zip
new combo table
Diffstat (limited to 'src/main/java/net/sowgro/npehero/editor/DiffEditor.java')
-rwxr-xr-xsrc/main/java/net/sowgro/npehero/editor/DiffEditor.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
index 75e687a..2b67013 100755
--- a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
+++ b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
@@ -67,7 +67,7 @@ public class DiffEditor extends Page
VBox options = new VBox(folderNameLabel, folderName, titleLabel, titleEntry, scoresLabel, clearScores, playLabel, playLevel);
options.setSpacing(10);
// options.getStyleClass().add("box");
- options.setPadding(new Insets(5));
+// options.setPadding(new Insets(5));
ScrollPane optionsScroll = new ScrollPane(options);
@@ -136,19 +136,19 @@ public class DiffEditor extends Page
VBox left = new VBox();
left.getChildren().addAll(/*optionsLabel, */optionsScroll);
options.setSpacing(10);
- optionsScroll.setPrefWidth(500);
+ optionsScroll.setPrefWidth(350);
optionsScroll.getStyleClass().remove("scroll-pane");
- optionsScroll.getStyleClass().add("box");
+// optionsScroll.getStyleClass().add("box");
optionsScroll.setFitToWidth(true);
- optionsScroll.setPadding(new Insets(5));
+// optionsScroll.setPadding(new Insets(5));
// optionsft.setPrefHeight();
HBox main = new HBox();
main.getChildren().addAll(left, notePreview);
main.setSpacing(10);
- main.prefHeightProperty().bind(content.heightProperty().multiply(0.75));
+// main.prefHeightProperty().bind(content.heightProperty().multiply(0.75));
main.maxWidthProperty().bind(content.widthProperty().multiply(0.95));
- optionsScroll.prefHeightProperty().bind(main.heightProperty());
+// optionsScroll.prefHeightProperty().bind(main.heightProperty());
Button exit = new Button();
exit.setText("Back");