take a look into 9 slices scaling, that's how you use it, it will allow you to achieve that result.
Thanks for the tip! And I appreciate your work