It’s simple:
- Promote In Text parameter from Set Text function to variable.
- Set Instance Editable to true in the variable’s Details panel.
- When you add your button widget to another widget you’ll be able to set the variable’s value as text as you’d do in your button widget.
PS: I’m using String Table for localized values.