Fix alignment of host and port in proxy settings (#3332)
This commit is contained in:
@@ -18,7 +18,6 @@
|
|||||||
package org.jackhuang.hmcl.ui.main;
|
package org.jackhuang.hmcl.ui.main;
|
||||||
|
|
||||||
import com.jfoenix.controls.*;
|
import com.jfoenix.controls.*;
|
||||||
import javafx.geometry.HPos;
|
|
||||||
import javafx.geometry.Insets;
|
import javafx.geometry.Insets;
|
||||||
import javafx.geometry.Pos;
|
import javafx.geometry.Pos;
|
||||||
import javafx.scene.control.Label;
|
import javafx.scene.control.Label;
|
||||||
@@ -204,7 +203,6 @@ public class DownloadSettingsPage extends StackPane {
|
|||||||
Label host = new Label(i18n("settings.launcher.proxy.host"));
|
Label host = new Label(i18n("settings.launcher.proxy.host"));
|
||||||
GridPane.setRowIndex(host, 1);
|
GridPane.setRowIndex(host, 1);
|
||||||
GridPane.setColumnIndex(host, 0);
|
GridPane.setColumnIndex(host, 0);
|
||||||
GridPane.setHalignment(host, HPos.RIGHT);
|
|
||||||
gridPane.getChildren().add(host);
|
gridPane.getChildren().add(host);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -220,7 +218,6 @@ public class DownloadSettingsPage extends StackPane {
|
|||||||
Label port = new Label(i18n("settings.launcher.proxy.port"));
|
Label port = new Label(i18n("settings.launcher.proxy.port"));
|
||||||
GridPane.setRowIndex(port, 2);
|
GridPane.setRowIndex(port, 2);
|
||||||
GridPane.setColumnIndex(port, 0);
|
GridPane.setColumnIndex(port, 0);
|
||||||
GridPane.setHalignment(port, HPos.RIGHT);
|
|
||||||
gridPane.getChildren().add(port);
|
gridPane.getChildren().add(port);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user