Multiline text in label objects

13 views
Skip to first unread message

Bruce Sherwood

unread,
Mar 25, 2015, 1:37:16 AM3/25/15
to glowscri...@googlegroups.com
The label object now accepts a multiline text, either using the Python triple-quote version such as this:

s = '''This is a multiline
paragraph that now works
in a label object.'''

or a string that contains explicit newline character ('\n'):

s = 'This is a multiline \nparagraph that now works \nin a label object.'

label(text=s)
Reply all
Reply to author
Forward
0 new messages