Skip to content
Discussion options

You must be logged in to vote

You could simply use a monospace font:

content = '''A B C D
. . . .
1 2 3 4'''
ui.textarea(value=content).style('font-family: "Courier New, Courier, monospace;')

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@HackYardo
Comment options

Comment options

You must be logged in to vote
1 reply
@falkoschindler
Comment options

Answer selected by HackYardo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants