This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Is there a way to automatically detect whether the child content of the viewport (i.e. the vertical height of the vbox) exceeds the viewport size and automatically enable/disable the vertical scrollbar on the viewport based on this? Visually, I would like to have the scrollbar appear when the viewport is scrollable, but be hidden when it isn't needed.
(Apologies if this is already covered here somewhere - my Google Fu wasn't up to finding it.)
- Ren'Py Creator
- Posts: 15316
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
https://www.renpy.org/doc/html/style_pr ... scrollable
(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom