Fovi Posted May 11, 2017 Share Posted May 11, 2017 Hi, i trying to implement different resizing styles for different containers. Right now i have to choose between: public height: number = window.innerWidth; public width: number = window.innerHeight; (Keep position of sprites / resize them exacly as window is resizes) this.renderer.view.style.height = this.height + "px"; this.renderer.view.style.width = this.width + "px"; and (Keep sprites where they are, do not move them) this.renderer.resize(this.width, this.height); But how can i achieve first effect on one Container and second on other Container in the same renderer ? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.