mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-14 20:42:21 -04:00
Adjust layout for popup for windows
This commit is contained in:
parent
0e53e6f5a3
commit
0e5426e1ac
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ public abstract class Overlay<T extends Overlay> {
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue