зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f08b4d097c
Коммит
86160d46e2
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче