Android - how to make the button label not capitalized? #3616
Herve-Guerin
started this conversation in
Debugging help
Replies: 2 comments 7 replies
|
The capitalization is part of the default Android style for buttons. Part of Toga's "native GUI" philosophy is that Toga inherits that behavior. There's no way to disable this at the level of Toga. In principle, it should be possible to override at the Briefcase level by modifying the default stylesheet of the Android app; however, I can't point you at a worked example of this. |
0 replies
|
My two cents to call anything on a native widget: Use widget._impl.native to get to the native widget, then do whatever you want on the native widget, as long as a supported API exists. Check for platform being android using toga.platform.current_platform == 'platform'. |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
When running the Android emulator, I see that the buttons' labels are capitalized, which I don't want. I've seen that when developing an Android app, this behavior can be changed by configuring the style at the app's level. What would be the equivalent action at the level of Toga in order to ensure that the lowercase are correctly rendered when going Android. Thank you very much!
All reactions