From aeeb0cb3d112c856ed0344e2d80f63244c3e5d44 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Thu, 1 Jul 1999 06:01:03 +0000 Subject: [PATCH] You can specify the size of the popup. git-svn-id: svn://10.0.0.236/trunk@37653 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsWebShellWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index 20e9405efdf..3577385f09e 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -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.