mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Fix positioning of info popopver
This commit is contained in:
parent
a053c50313
commit
a0eef9b5c0
@ -497,8 +497,8 @@ public class CreateOfferCB extends CachedCodeBehind<CreateOfferPM> {
|
||||
private Point2D getPopupPosition() {
|
||||
Window window = totalToPayInfoIconLabel.getScene().getWindow();
|
||||
Point2D point = totalToPayInfoIconLabel.localToScene(0, 0);
|
||||
double x = point.getX() + window.getX() + totalToPayInfoIconLabel.getWidth() + 20;
|
||||
double y = point.getY() + window.getY() + Math.floor(totalToPayInfoIconLabel.getHeight() / 2);
|
||||
double x = point.getX() + window.getX() + totalToPayInfoIconLabel.getWidth() - 3;
|
||||
double y = point.getY() + window.getY() + Math.floor(totalToPayInfoIconLabel.getHeight() / 2) - 9;
|
||||
return new Point2D(x, y);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user