Skip to content

Commit

Permalink
[#1] Fixed layout stubs.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaloLorn committed Jun 4, 2021
1 parent 3350990 commit 260a2c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void initialize() {
}

@FXML private void setSR2Path(ActionEvent event) {
setSR2Path(new File(Settings.getInstance().gamePath), urlField.getScene().getWindow());
setSR2Path(urlField.getScene().getWindow());
}

private void setSR2Path(Window window) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<TabPane>
<Tab text="Manage Mods">
<ScrollPane hbarPolicy="NEVER">
<VBox prefHeight="200.0" prefWidth="100.0"/>
<VBox prefHeight="200.0" prefWidth="600.0" />
</ScrollPane>
</Tab>
<Tab text="Install Mods">
Expand Down Expand Up @@ -115,7 +115,7 @@
<Button fx:id="updateGameButton" contentDisplay="CENTER" disable="true" mnemonicParsing="false" onAction="#installOpenSR" text="Update Game" GridPane.columnIndex="1" GridPane.halignment="CENTER" />
</HBox>
</VBox>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" GridPane.columnSpan="2" GridPane.rowIndex="1">
<TextArea fx:id="osrVersionInfo" editable="false" layoutX="200.0" layoutY="44.0" prefHeight="200.0" prefWidth="200.0" wrapText="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
</AnchorPane>
</GridPane>
Expand Down

0 comments on commit 260a2c5

Please sign in to comment.