PDA

View Full Version : new rendering



michael_jr
28 Aug 2014, 11:32 PM
Hello,
if someone change the size of the browser ( chrome, firefox... ), the scope presentation should be rendered to the new size of the browser window.

how can i realise this? :-/

michael

skirtle
30 Aug 2014, 4:08 AM
If you want your app to fill the browser use a Viewport component.

If you want to manage the size in some other way use onWindowResize to listen for the resize then call setWidth and setHeight on your outermost component.