You can specify the size of the popup.

git-svn-id: svn://10.0.0.236/trunk@37653 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
1999-07-01 06:01:03 +00:00
parent 4ab75873d4
commit aeeb0cb3d1

View File

@@ -1248,6 +1248,7 @@ nsWebShellWindow::CreatePopup(nsIDOMElement* aElement, nsIDOMElement* aPopupCont
// (9) Show the window. Don't give the focus yet because we may not want to.
// For example, popup windows want focus, but tooltips do not.
window->SetSizeFromXUL();
newWindow->Show(PR_TRUE);
// (10) Do some layout.