Skip to content

Commit

Permalink
Adjust layout for popup for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer committed Apr 14, 2016
1 parent 0e53e6f commit 0e5426e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ protected void layout() {
Window window = rootScene.getWindow();
double titleBarHeight = window.getHeight() - rootScene.getHeight();
if (Utilities.isWindows())
titleBarHeight -= 10;
titleBarHeight -= 9;
stage.setX(Math.round(window.getX() + (owner.getWidth() - stage.getWidth()) / 2));

if (type.animationType == AnimationType.SlideDownFromCenterTop)
Expand Down

0 comments on commit 0e5426e

Please sign in to comment.