Why does the Button Widget text always get uppercase when inserted?

Asked

Viewed 21 times

-1

I am creating a UI programmatically and every time I insert the text in the setText() buttons, the text is uppercase. In the xml UI the same thing happens. I would like the UI to keep the text as it was inserted. Uppercase as uppercase and lowercase as lowercase.

1 answer

-1


Use an attribute textAllCaps as false

  • It worked perfectly. Thanks. I also found the setAllCaps() method to use programmatically.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.