Use Slice 9 when GUI node's Adjust Mode is set to Stretch

Nodes are deformed if set to Strech, even if they’re defined to scale with Slice 9. It would make sense if resized nodes always respected Slice 9, if defined.

6c9841013ee4a18bc83ac4b38354b262745ff3e1_2_255x500

7d34badc520d86e31d54e1e937282fa3bc8cb2fb_2_432x500

b8b6ecec93edf87da4a68fddf0de4e0612d03556_2_483x500

4 Likes

Original thread: Render.get_window_width() vs. GUI width

2 Likes

Bumped into this one again when trying to have a slice 9 border around the screen. +1, if allowed. :slight_smile:

2 Likes

Bumped into this again, so added an issue: https://github.com/defold/defold/issues/5197