Skip to content

align/justify text in Panel? #1359

Answered by willmcgugan
nschloe asked this question in Q&A
Jul 22, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Try this...

from rich.text import Text
message = Text("\n".join(["x", "xxxxx"]), justify = "right")

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nschloe
Comment options

@willmcgugan
Comment options

@nschloe
Comment options

Answer selected by nschloe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants