qwindow disappears on window resize

3 views
Skip to first unread message

andy

unread,
Jun 10, 2010, 5:41:44 PM6/10/10
to Qutensil
hi, love this great library, have been playing with it...

one thing ive noticed is if I load a qwindow then resize the browser
the window and protection layer are removed from the dom..

any ideas? it does it on the examples too..
thanks


andy

andy

unread,
Jun 10, 2010, 5:53:04 PM6/10/10
to Qutensil
forgot to mention using firefox 3.6.3 on windows vista

andy

unread,
Jun 10, 2010, 6:26:54 PM6/10/10
to Qutensil
its amazing how you can fix your own problems, when I added
this.holder.remove() to onhide of q.window this caused the window to
be removed when the screen was resized as resize in q.js calls
q.hide().. my fault


I guess there needs to be some sort of close() / destroy in the main
q.window class to run this.holder.remove so the window is not simply
hidden if we want to destroy it



andy

wonderingwout

unread,
Jun 11, 2010, 3:11:26 AM6/11/10
to Qutensil
On de Q.Window base class that is normal, all Q's instances are closed
on resize.
But on the subclasses Q.Alert, Q.Confirm and Q.Prompt this shouldn't
happen, they should be persistent.

I'll fix this in the next release and also build in you suggestions
for a destroy() method.
Thanks for the suggestion!

Greetings,
Wout

andy

unread,
Jun 11, 2010, 3:39:42 AM6/11/10
to Qutensil
excellent, I cant convey enough how brilliant I think qutensil is - I
love how light it feels unlike a lot of other widget collections.

wonderingwout

unread,
Jun 11, 2010, 3:55:13 AM6/11/10
to Qutensil
Thanks :-)

We are using it in all our own webapps.
That's why we keep improving and extending it in high tempo.
Reply all
Reply to author
Forward
0 new messages