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 stage = new Stage();
|
||||||
stage.setResizable(false);
|
stage.setResizable(false);
|
||||||
|
|
||||||
stage.initStyle(StageStyle.UTILITY);
|
if (isWindowsApp()) {
|
||||||
stage.initModality(Modality.NONE);
|
stage.initStyle(StageStyle.UNIFIED);
|
||||||
|
stage.initModality(Modality.NONE);
|
||||||
|
} else {
|
||||||
|
stage.initStyle(StageStyle.UTILITY);
|
||||||
|
stage.initModality(Modality.NONE);
|
||||||
|
}
|
||||||
|
|
||||||
return new GettingStartedStage(stage);
|
return new GettingStartedStage(stage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue