My content is in a container of 800x480 pixels. When the window resizes, my goal is to:
- Zoom/Stretch the container to fill the entire screen
- Including all children of the container and maintain their relative positions
- I don't care about maintaining the aspect ratio
So when the window width/height is 1600x960, I do the following:
And this stretches the canvas, but if the new aspect ratio isn't the same as 800x480, then it won't fully stretch to either the height or the width.
Isn't something like this available, where I can set an individual stretch for the width and height?
zoom: (2, 2.5)