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.
ui.TableViewCell.detail_text_label
-
How does the
ui.TableViewCell.detail_text_label
work? It is alwaysNone
when I try to make changes to it. -
@Sebastian , sorry my memory is not so good.
But if you do one of the following,
cell = ui.TableViewCell('subtitle')
Or
cell = ui.TableViewCell(celltype = 'subtitle')I can't remember the correct way
This is a bit of missing documentation. But ui.TableViewCell can create 4 different celltypes.
Empty string is default
'subtitle'
'value1'
'value2'But if the default type is used detail_text_label will be None.
-
This post is deleted! -
@Phuket2 Thanks!
ui.TableViewCell('subtitle')
did the trick! 😊👌 -
@Sebastian 👍, don't forget to try out the other 2 'value1' and 'value2', gives you different cell layouts