How do I add a scrollbar to a Label? #2403
-
Is it possible to add a scrollbar to a Label object? If yes, how? |
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
Apr 27, 2023
Replies: 1 comment 5 replies
-
Kind of. But you would add the label as a child of a scrollable container. If your label is larger than the container you will get a scrollbar. with VerticalScroll():
yield Label(LOTS_OF_TEXT) |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
davep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kind of. But you would add the label as a child of a scrollable container. If your label is larger than the container you will get a scrollbar.