Why nsIDOMWindow.sizeToContent does not work properly
"Alexander Naschansky" <[email protected]> Fri, 21 Mar 2003 14:05:06 +0200
| Newsgroups | gmane.comp.mozilla.devel.embedding,gmane.comp.mozilla.devel.xpcom |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hi When I call nsIDOMWindow.sizeToContent() it just restores window if it was minimized or maximized before call. I expect that sizeToContent() must resize window so it display all content without scrollbars. Am I right? If I am right then why nsIDOMWindow.sizeToContent() does not work properly? May be it was not implemented? I test it on Windows 2000 SP3 with Mozilla 1.1 Gecko/20020826 Sincerely Alex