Skip to content

How to get Label widget to automatically wrap for long text? #1684

Answered by willmcgugan
learnbyexample asked this question in Q&A
Discussion options

You must be logged in to vote

You can add shrink=True on to the Label with the panel to allow it to shrink beyond the optimal size, and let it wrap.

But unless you need a Panel in particular (for titles), its generally easier to set the border rule...

Replies: 1 comment 3 replies

Comment options

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

@willmcgugan
Comment options

@learnbyexample
Comment options

Answer selected by learnbyexample
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