Changing title of button also changes font and size.

I'm using .setTitle on a button to change the text. Unfortunately every time I do so the font and it's size also change.

I assume this is a bug. I can't seem to get the font before I change the title and then set it back afterwards either.

  • Can you show enough code to reproduce the issue?

Add a Comment

Replies

Did you figure out in the end how to change the text without changing the font size?