showRelativeTo doesn't work the first time

2011-08-03 Thread Dennis Haupt
there seems to be something wrong with my popups. the first time i try to show a popup via showRelativeTo(someWidget), it simply doesn't show with firefix and chrome. ie9 works fine. both times, the coordinates are equal. PopupPanel.setPopupPosition is called with the same parameters, so it's not

Re: showRelativeTo doesn't work the first time

2011-08-03 Thread Brian Reilly
I've had issues with positioning (specifically centering) when setting dimensions of the popup contents using CSS (width in my case, but I imagine hight could have similar issues). My dialog box would be positioned too far to the right the first time is was displayed using center(). The second

Re: showRelativeTo doesn't work the first time

2011-08-03 Thread Eric Andresen
I've also seen similar problems with showRelativeTo. I've noticed that if I show a popup dialog that has dynamic sizing (i.e. the widget is a FlowPanel), the first time it pops up it shows as very wide and goes off the screen. If I close and re-open it, the second time it correctly wraps its

Re: showRelativeTo doesn't work the first time

2011-08-03 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 figured it out, in my case i've opened the popup via a clicklistener on a hyperlink. the first time, the dialog opened and immediately closed again because of the history event Am 03.08.2011 15:37, schrieb Eric Andresen: I've also seen similar