From 3759a58668b20d8d6bbcb5fecbdcfec920ee4642 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Thu, 8 Apr 1999 23:27:19 +0000 Subject: [PATCH] Decreasing height of newly-created windows to work around bug #3976. --- xpfe/AppCores/src/nsBrowserAppCore.cpp | 6 +++--- xpfe/AppCores/src/nsEditorAppCore.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xpfe/AppCores/src/nsBrowserAppCore.cpp b/xpfe/AppCores/src/nsBrowserAppCore.cpp index 659b7e11b170..3609508254d2 100644 --- a/xpfe/AppCores/src/nsBrowserAppCore.cpp +++ b/xpfe/AppCores/src/nsBrowserAppCore.cpp @@ -349,7 +349,7 @@ newWind(char* urlName) { */ controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow, - nsnull, nsnull, 615, 650); + nsnull, nsnull, 615, 480); NS_RELEASE(url); @@ -1238,7 +1238,7 @@ nsBrowserAppCore::NewWindow() */ controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow, - nsnull, nsnull, 615, 650); + nsnull, nsnull, 615, 480); NS_RELEASE(url); done: @@ -1443,7 +1443,7 @@ nsBrowserAppCore::DoDialog() controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; appShell->CreateDialogWindow(mWebShellWin, urlObj, controllerCID, window, - nsnull, nsnull, 615, 650); + nsnull, nsnull, 615, 480); nsServiceManager::ReleaseService(kAppShellServiceCID, appShell); // window->Resize(300, 200, PR_TRUE); (until Resize gets moved into nsIWebShellWindow) diff --git a/xpfe/AppCores/src/nsEditorAppCore.cpp b/xpfe/AppCores/src/nsEditorAppCore.cpp index 14acf9b68a0f..da6c67ca7725 100755 --- a/xpfe/AppCores/src/nsEditorAppCore.cpp +++ b/xpfe/AppCores/src/nsEditorAppCore.cpp @@ -1104,7 +1104,7 @@ static PRInt32 MakeNewWindow(char* urlName) */ controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow, - nsnull, nsnull, 615, 650); + nsnull, nsnull, 615, 480); NS_RELEASE(url);