IsResizable: Boolean;
The IsResizable property determines whether component can be resized.
If the property is set to True component can be resized, otherwise it cannot be resized.
To execute the example, HTML page must contain links to PP.css and PP.js files. Add to the page the Window component that cannot be resized:
wnd = new PP.Ui.Window({ ParentNode: document.body, Width: 200, Height: 100 }); wnd.show(); /*If window sizes do not change at the given moment, prohibit resizing */ if (wnd.isResingNow() == false) { wnd.setIsResizable(false) };
After executing the example the Window component is placed on the page. The component cannot be resized.
See also: