(Otherwise the rounded corners aren’t
‘round’ but more oblong).
Look into how 9-slice works (called 9 Scale Box in UE4) - Setting Image States
, here:
The margins control how much of the edges are preserved.
If all you want is rounded boxes on differently shaped buttons, 1 material instance is enough for this.