OS/2 doesn't preserve the width and height of a window if one of them is set to zero, so start the customize toolbar dialog at a height of 50 (so that we don't lose the width). Bug 172903, patch by mkaply, r=me.

This commit is contained in:
bryner%netscape.com 2002-11-14 19:25:33 +00:00
Родитель f08b4d097c
Коммит 86160d46e2
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -25,7 +25,7 @@ const kRowMax = 4;
const kWindowWidth = 600;
const kWindowHeight = 400;
const kAnimateIncrement = 50;
const kAnimateSteps = kWindowHeight / kAnimateIncrement;
const kAnimateSteps = kWindowHeight / kAnimateIncrement - 1;
var gToolboxDocument = null;
var gToolbox = null;
@ -46,7 +46,7 @@ function onLoad()
repositionDialog();
window.outerWidth = kWindowWidth;
window.outerHeight = 0;
window.outerHeight = 50;
slideOpen(0);
}