In version 2.1.49 the button would resize to the amount of writing automatically. As of 2.1.50 part of the label is hidden.
(If I apply a class of buttons from the source code to these buttons it works fine but I have not found a way to apply it to them.)
What is the solution to this?