is there anyway to save scrollbar position after this screen is replaced or hidden
Forum rules
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.
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.
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
is there anyway to save scrollbar position after this screen is replaced or hidden
click a button in viewport to call a label and save the scrollbar position,when back to this screen return to this scrollbar position
stay hungry,stay foolish.
- Ocelot
- Lemma-Class Veteran
- Posts: 2417
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: is there anyway to save scrollbar position after this screen is replaced or hidden
If you provide an adjustment property pointing to an external ui.adjustment object, it will retain its value between sreen appearances.
https://renpy.org/doc/html/screen_pytho ... adjustment
https://renpy.org/doc/html/screens.html#bar
https://renpy.org/doc/html/screen_pytho ... adjustment
https://renpy.org/doc/html/screens.html#bar
< < insert Rick Cook quote here > >
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]