Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Change default disabled TextField look
-
Hi,
I’ve searched the forum to see how to change the default disabled look of a TextField so that it does not have the outline or grey background but no luck. I’ve tried a couple of things but the look does not change.Any suggestions or advice would be great. I’m trying to make the TextField when disabled look like a label but may have to hide a label under it if there is no way to change the look.
Thanks
-
consider using a TextView, with editable = False.
-
This post is deleted! -
When you set .bordered to False you can change the settings (workaround)
self['textfield1'].enabled = False self['textfield1'].bordered = False self['textfield1'].border_width = 0 self['textfield1'].background_color = 'blue' self['textfield1'].text_color = 'white'
-
Thanks for the suggestions. I’ll try changing the settings first suggested by @brumm.
If that fails then changing to a TextView could be an option.
Thanks for the top tips!