[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
popup positioning  XML
Forum Index -> Development
Author Message
heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline

Hi Björn,

a popup ignores its own position settings (setTop(), setLeft()) if it is called from the reactOnYes() method of a YesNoPopup.

Frauke
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

...well it does not ignore them, it puts them into relation to the window on which the last activity (focussed element) was executed. In other word: the next popup is positioned relative to the coordinates of the Yes/No Popup.

We do not want to "just change" this logic because it makes sense in a lot of cases (the next popup is positioned "in the neighbourhood" of the previos popups) and there are users expecting this behaviour.

What you can do: adjust the coordinates accordingly: e.g. assigne left/top as "-200,-200" so the the follow on popup is positioned in a smarter way. Maybe this is a bit a workaround, but it works! ;-)

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team