You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, but when i resize the window and the popUp is displayed on Top of the Button the Alignment values do not change to:
HorizontalAlignment=right
VerticalAlignment=top
isTop=true
isBottom=false
isRight=true
isLeft=false
SampleCode for Standard Implementation of PopupButton:
`popupButton.addPopupVisibilityListener(event -> {
Alignment a = event.getPopupButton().getDirection();
System.out.println("HorizontalAlignment="+a.getHorizontalAlignment());
System.out.println("VerticalAlignment="+a.getVerticalAlignment());
The default PopUp direction is set to Alignment.BOTTOM_RIGHT, so system.out says:
HorizontalAlignment=right
VerticalAlignment=bottom
isTop=false
isBottom=true
isRight=true
isLeft=false
, but when i resize the window and the popUp is displayed on Top of the Button the Alignment values do not change to:
HorizontalAlignment=right
VerticalAlignment=top
isTop=true
isBottom=false
isRight=true
isLeft=false
SampleCode for Standard Implementation of PopupButton:
`popupButton.addPopupVisibilityListener(event -> {
Alignment a = event.getPopupButton().getDirection();
System.out.println("HorizontalAlignment="+a.getHorizontalAlignment());
System.out.println("VerticalAlignment="+a.getVerticalAlignment());
});`
Any idea?
The text was updated successfully, but these errors were encountered: