Did some testing for several hours and no solution automatic yet.
Jon Moore
1

Actually you could use the plugin dynamic buttons — https://github.com/ddwht/sketch-dynamic-button

Every time you replace text just hit command+j as long as your text layer is renamed to the padding you want for the buttons of course.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.