Fixed size initialization bug regarding correct computation of scenesize
This commit is contained in:
parent
bbc47e9e85
commit
d9c043c589
@ -129,6 +129,7 @@ public final class SceneContext {
|
||||
// The LoginScene is the only scene not intended to be resized
|
||||
// As strange as it seems, this is needed as otherwise the LoginScene won't be
|
||||
// displayed on some OS (...Debian...)
|
||||
stage.sizeToScene();
|
||||
Platform.runLater(() -> stage.setResizable(sceneInfo != SceneInfo.LOGIN_SCENE));
|
||||
applyCSS();
|
||||
stage.show();
|
||||
|
Reference in New Issue
Block a user