Vertical scrollbars when putting a Vertical
layout into Collapsible
instead of the widget directly
#4917
-
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
Aug 21, 2024
Replies: 1 comment 2 replies
-
You can swap your As for your original issue, the Collapsible has children of its own for the title and contents. If you want to add something to the contents, I think the following should work: self.query_one('#collapsible > Contents').mount(Label('line of text 2')) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kostrykin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can swap your
Vertical
for aVerticalScroll
.As for your original issue, the Collapsible has children of its own for the title and contents. If you want to add something to the contents, I think the following should work: