Hello! I have a mobile navigation page and a popup (not modal) anchored to an
image. Here's a short example:

var whiteIcon = new qx.ui.mobile.basic.Image(image);
this.getContent().add(whiteIcon);

var label = new qx.ui.mobile.basic.Label("labelOnPopup");
var popup = new qx.ui.mobile.dialog.Popup(label, whiteIcon);
popup.show();


I need it to be shown always (I wanna put there an amount of unread messages
for messages button in main menu), so I have a popup.show() method called in
the end of page initialization.  Nevertheless, on page show it has left:0;
top:0 coords, like on image:

<http://qooxdoo.678.n2.nabble.com/file/n7585973/menu1.png> 

But after any page resize it anchors as needed:

<http://qooxdoo.678.n2.nabble.com/file/n7585973/menu2.png> 

Why does it come so and how can I fix it?

Also, after different page resize it may change it's position being on top
or under the element it is anchored to. Is there a way to always attach it
to the top for example?

Last problem is - it auto hides after page scrolling. Is there a way to make
it being always shown without making it modal?

I'll be glad for any advise! Thanks! Regards!



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Popup-anchored-to-the-image-on-page-load-tp7585973.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to