Full Credit to https://github.com/ddwht/sketch-dynamic-button. Unfortunately, the original plugin is no longer maintained and updated for newer Sketch Versions.
Dynamic button plug-in for Sketch.app allows to create buttons with fixed paddings no matter what text you add.
Version 1.1.2