I want to create a button that can easily change it’s colour, size and text.
For the colour I could use masking, for the size I could use auto layout.
However, I was wondering if there is an option to have both.
A button that gets automatically longer if the text gets longer.
Yet still changes the colour. Does anyone know if it’s possible to combine those two functions?