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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user