Describe the bug
I use “inner padding” parameter in atlases (read why). It works perfect with usual sprites. E.g. I can change inner padding value and it will not affect anything in sprites.
Unfortunately inner padding affects Slice 9 offsets in GUI. i.e. I should sum up real offset and inner padding while applying Slice 9 XYZW values.
Is it a bug?
To Reproduce
- Set Slice 9 for a GUI node.
- Change inner padding of your altas to a different value, for example 2px.
- You have to add +2px to all Slice 9 values of this GUI node, too.
Expected behavior
Inner padding shouldn’t affect Slice 9 of GUI nodes.
Defold version:
- 1.2.167
Platforms:
- OS: Windows 10 x64