From: rnayabed Date: Sun, 17 Jan 2021 21:48:36 +0530 Subject: work --- work --- --- 'a/src/main/java/com/StreamPi/Server/Window/FirstTimeUse/FinalConfigPane.java' +++ b/src/main/java/com/StreamPi/Server/Window/FirstTimeUse/FinalConfigPane.java @@ -42,7 +42,7 @@ public class FinalConfigPane extends VBo serverPortTextField = new TextField("2004"); HBoxInputBox serverNickNameInputBox = new HBoxInputBox("Server Nickname", serverNicknameTextField, 200); - HBoxInputBox serverPortInputBox = new HBoxInputBox("Server Nickname", serverPortTextField); + HBoxInputBox serverPortInputBox = new HBoxInputBox("Server Port", serverPortTextField); Button confirmButton = new Button("Confirm"); confirmButton.setOnAction(event -> onConfirmButtonClicked()); --- 'a/src/main/java/com/StreamPi/Server/Window/Settings/About.java' +++ b/src/main/java/com/StreamPi/Server/Window/Settings/About.java @@ -45,8 +45,6 @@ public class About extends VBox{ VBox.setMargin(licenseLabel, new Insets(20, 0 , 10 ,0)); TextArea licenseTextArea = new TextArea(License.getLicense()); - - licenseTextArea.setWrapText(false); licenseTextArea.setEditable(false); licenseTextArea.setMaxWidth(550); @@ -85,8 +83,6 @@ public class About extends VBox{ }); donateButton.getStyleClass().add("settings_about_donate_hyperlink"); - Region gap = new Region(); - VBox.setVgrow(gap, Priority.ALWAYS); ServerInfo serverInfo = ServerInfo.getInstance(); @@ -100,7 +96,7 @@ public class About extends VBox{ setSpacing(3); - getChildren().addAll(appIconImageView, licenseLabel, licenseTextArea, links, donateButton, gap, versionText, commStandardLabel, minThemeAPILabel, minActionAPILabel, currentActionAPILabel); + getChildren().addAll(appIconImageView, licenseLabel, licenseTextArea, links, donateButton, versionText, commStandardLabel, minThemeAPILabel, minActionAPILabel, currentActionAPILabel); } public void openWebpage(String url) {