Our CEP extension (ModalDialog) does the following:
Remember the modal dialog size every time before the dialog is dismissed.
Next time the modal dialog is opened, we resize the dialog to its last used size by calling CSInterface.resizeContent(width, height).
Dialog gets resized which is correct, but it only expand towards right, bottom, and is no longer centralized on the screen.
Wish: Currently CSInterface.js contains API resizeContent() that can change the size of the CEP modal dialog. We need an API to move the window by dx, dy, so that it can be centralized on the screen.
Our CEP extension (ModalDialog) does the following:
Wish: Currently CSInterface.js contains API resizeContent() that can change the size of the CEP modal dialog. We need an API to move the window by dx, dy, so that it can be centralized on the screen.
Would you consider this wish?