mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Adjust layout for popup for windows
This commit is contained in:
parent
0d3a3cd63a
commit
0e53e6f5a3
@ -7,6 +7,7 @@ import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
// https://api.bitfinex.com/v1/pubticker/BTCUSD
|
||||
public interface PriceProvider extends Serializable {
|
||||
Map<String, MarketPrice> getAllPrices() throws IOException, HttpException;
|
||||
|
||||
|
@ -566,6 +566,8 @@ public abstract class Overlay<T extends Overlay> {
|
||||
if (rootScene != null) {
|
||||
Window window = rootScene.getWindow();
|
||||
double titleBarHeight = window.getHeight() - rootScene.getHeight();
|
||||
if (Utilities.isWindows())
|
||||
titleBarHeight -= 10;
|
||||
stage.setX(Math.round(window.getX() + (owner.getWidth() - stage.getWidth()) / 2));
|
||||
|
||||
if (type.animationType == AnimationType.SlideDownFromCenterTop)
|
||||
|
Loading…
Reference in New Issue
Block a user