Optimize Getting Started dialog for Windows
This commit is contained in:
parent
6e50888edc
commit
2ded72ad68
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue