Slice 9 nodes using stretch as adjust mode don’t work when the window is resized. More on that here.
One workaround would be to set the adjust mode to fit and scale the node manually. In my case I want the node to completely fill the window. What I’ve tried so far:
- Resize the node based on the window scale ratio. This works in x or y but not both.
- Using nine separate nodes with fit as adjust mode and respective x/y anchor. The corners work, but I can’t figure out how to set the width/height of the straight ones.
How would I go about doing this?
I suppose the question is: How can a node with adjust mode fit be scaled to always fill the screen?