Maybe try making the width negative.
If that doesn’t work then it is possible to take a sprite with a distort mesh to position the corners any way you want. But you’ll have to mess with a fair amount of math.
you have right, is one way to do this, when width have 50px i set -50px to receive result