Decreasing height of newly-created windows to 480. Approved by Chris H.

This commit is contained in:
hyatt%netscape.com 1999-04-08 23:29:27 +00:00
Родитель 79e1e2b184
Коммит bb6b8f1127
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -152,7 +152,7 @@ nsToolkitCore::ShowDialog(const nsString& aUrl, nsIDOMWindow* aParent) {
nsCOMPtr<nsIWebShellWindow> parent = DOMWindowToWebShellWindow(aParent);
appShell->CreateDialogWindow(parent, urlObj, controllerCID, window,
nsnull, nsnull, 615, 650);
nsnull, nsnull, 615, 480);
nsServiceManager::ReleaseService(kAppShellServiceCID, appShell);
if (window != nsnull)
@ -186,7 +186,7 @@ nsToolkitCore::ShowWindow(const nsString& aUrl, nsIDOMWindow* aParent) {
nsCOMPtr<nsIWebShellWindow> parent = DOMWindowToWebShellWindow(aParent);
appShell->CreateTopLevelWindow(parent, urlObj, controllerCID, window,
nsnull, nsnull, 615, 650);
nsnull, nsnull, 615, 480);
nsServiceManager::ReleaseService(kAppShellServiceCID, appShell);
if (window != nsnull)
@ -220,7 +220,7 @@ nsToolkitCore::ShowModalDialog(const nsString& aUrl, nsIDOMWindow* aParent) {
nsCOMPtr<nsIWebShellWindow> parent = DOMWindowToWebShellWindow(aParent);
appShell->CreateDialogWindow(parent, urlObj, controllerCID, window,
nsnull, nsnull, 615, 650);
nsnull, nsnull, 615, 480);
nsServiceManager::ReleaseService(kAppShellServiceCID, appShell);
if (window != nsnull) {