Optimize Getting Started dialog for Windows

This commit is contained in:
Reinhard Pointner 2017-04-02 03:16:17 +08:00
parent 6e50888edc
commit 2ded72ad68
1 changed files with 7 additions and 2 deletions

View File

@ -55,8 +55,13 @@ public class GettingStartedStage {
Stage stage = new Stage();
stage.setResizable(false);
stage.initStyle(StageStyle.UTILITY);
stage.initModality(Modality.NONE);
if (isWindowsApp()) {
stage.initStyle(StageStyle.UNIFIED);
stage.initModality(Modality.NONE);
} else {
stage.initStyle(StageStyle.UTILITY);
stage.initModality(Modality.NONE);
}
return new GettingStartedStage(stage);
}