[Project_owners] sizeToContent() help

Eric H. Jung grimholtz at yahoo.com
Thu May 1 07:52:24 PDT 2008


Ubuntu users and some OS/X users are reporting screens like this in my extension:

http://img74.imageshack.us/img74/2326/foxyproxyok1vu2.png
http://img215.imageshack.us/img215/6199/foxyproxyok2tg7.png

and writing comments like this at AMO:

"The UI is completely broken under OS X (the windows have to be resized to even see the validation buttons"

Thefirst screenshot shows a <window/> that doesn't usesizeToContent(). The second screenshot shows a <dialog/> that*does* use sizeToContent(). Does sizeToContent() work only in certaincases? Mark Finkle in IRC recommended I try:

  setTimeout( function() {sizeToContent();}, 0);

but since I have neither Ubuntu nor OS/X, I won't know if this fixes the problem. What should I do?

Thanks for any advice,
Eric



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


More information about the Project_owners mailing list