@@ -41,6 +41,9 @@ import static org.jackhuang.hmcl.util.logging.Logger.LOG;
|
|||||||
|
|
||||||
public final class UpgradeDialog extends JFXDialogLayout {
|
public final class UpgradeDialog extends JFXDialogLayout {
|
||||||
public UpgradeDialog(RemoteVersion remoteVersion, Runnable updateRunnable) {
|
public UpgradeDialog(RemoteVersion remoteVersion, Runnable updateRunnable) {
|
||||||
|
maxWidthProperty().bind(Controllers.getScene().widthProperty().multiply(0.7));
|
||||||
|
maxHeightProperty().bind(Controllers.getScene().heightProperty().multiply(0.7));
|
||||||
|
|
||||||
setHeading(new Label(i18n("update.changelog")));
|
setHeading(new Label(i18n("update.changelog")));
|
||||||
setBody(new ProgressIndicator());
|
setBody(new ProgressIndicator());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user