OptionalheightMaximum height in physical pixels; 0 removes the bound.
OptionalwidthMaximum width in physical pixels; 0 removes the bound.
OptionalwindowTarget window: main or a popup id; omitted or empty, the calling window. There is no fallback to the main window: a caller that is not one of the plugin's windows fails with NOT_FOUND, and a DUI/CUI panel with PANEL_MODE_UNSUPPORTED.
Parameters for
window.setMaxSize. Set a window's maximum size;0removes the bound and fractions are dropped. The host keeps it in DIPs of the target window, so it reads back within 1 px (0exactly). A window larger than the new maximum shrinks at once, unless it is maximized, fullscreen or minimized. Fails in panel mode.