PopupMenu showing in the wrong place


#1

I am telling a popup menu to show itself at x753 y409 and its showing itself at x676 y407.

This is only happening though when I move the DialogWindow to the right side of my screen.

Any ideas why?


#2

[quote=“angrycat”]I am telling a popup menu to show itself at x753 y409 and its showing itself at x676 y407.

This is only happening though when I move the DialogWindow to the right side of my screen.

Any ideas why?[/quote]

Well, to answer my own question I went into see how popupmenu was implementing showAt()…

Essentialy what’s failing is the value tendTowardsRight. The algorithm for determening where to show the popup is specific to popups and not root level menus, which means i iwll probably have to implement my own.


#3

Ok, well it’s on my list of things to look at.


#4