Decreasing height of newly-created windows to work around bug #3976.

This commit is contained in:
hyatt%netscape.com 1999-04-08 23:27:19 +00:00
Родитель c0f111d872
Коммит 3759a58668
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -349,7 +349,7 @@ newWind(char* urlName) {
*/ */
controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081";
appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow, appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow,
nsnull, nsnull, 615, 650); nsnull, nsnull, 615, 480);
NS_RELEASE(url); NS_RELEASE(url);
@ -1238,7 +1238,7 @@ nsBrowserAppCore::NewWindow()
*/ */
controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081";
appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow, appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow,
nsnull, nsnull, 615, 650); nsnull, nsnull, 615, 480);
NS_RELEASE(url); NS_RELEASE(url);
done: done:
@ -1443,7 +1443,7 @@ nsBrowserAppCore::DoDialog()
controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081";
appShell->CreateDialogWindow(mWebShellWin, urlObj, controllerCID, window, appShell->CreateDialogWindow(mWebShellWin, urlObj, controllerCID, window,
nsnull, nsnull, 615, 650); nsnull, nsnull, 615, 480);
nsServiceManager::ReleaseService(kAppShellServiceCID, appShell); nsServiceManager::ReleaseService(kAppShellServiceCID, appShell);
// window->Resize(300, 200, PR_TRUE); (until Resize gets moved into nsIWebShellWindow) // window->Resize(300, 200, PR_TRUE); (until Resize gets moved into nsIWebShellWindow)

Просмотреть файл

@ -1104,7 +1104,7 @@ static PRInt32 MakeNewWindow(char* urlName)
*/ */
controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081"; controllerCID = "43147b80-8a39-11d2-9938-0080c7cb1081";
appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow, appShell->CreateTopLevelWindow(nsnull, url, controllerCID, newWindow,
nsnull, nsnull, 615, 650); nsnull, nsnull, 615, 480);
NS_RELEASE(url); NS_RELEASE(url);