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.
vertically center text in ui.textview?
-
We can set horizontal alignment in a textview, but what about vertical centering? Is there a way to accomplish that? I tried using ui.CONTENT_CENTER but that doesn't seem to do anything for textviews.
-
No, you can't change the vertical alignment of a
TextView
. If you only need one line, consider using aTextField
; if it doesn't need to be editable, you can use aLabel
– both of these are vertically centered. -
Ah, okay, thanks. I think I can get by with a
Label
instead.