I made graphics for a slider to use in menus and when I implemented it looks like this
Is there is a way to keep the thumb from going all the way over the orange portion of the slider? I want the thumb to stop maybe a few pixels away from the start of the orange section on each side. I figure there is a part of the code that states how big the track for the thumb is I'm just not sure where it would be. I'm sure an exact line isn't possible since I've changed stuff from the default but if I could get pointed in the general right direction that would be awesome!
[SOLVED]Slider thumb goes too far
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.
- Alaspooralice
- Newbie
- Posts: 7
- Joined: Sun Dec 31, 2023 5:18 pm
- Contact:
[SOLVED]Slider thumb goes too far
Last edited by Alaspooralice on Fri Jan 05, 2024 7:53 pm, edited 1 time in total.
- Ocelot
- Lemma-Class Veteran
- Posts: 2420
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Slider thumb goes too far
https://www.renpy.org/doc/html/style_pr ... properties
You want left_gutter and right_gutter properties.
Also check if thumb_offset property is set correctly.
You want left_gutter and right_gutter properties.
Also check if thumb_offset property is set correctly.
< < insert Rick Cook quote here > >
- Alaspooralice
- Newbie
- Posts: 7
- Joined: Sun Dec 31, 2023 5:18 pm
- Contact:
Re: Slider thumb goes too far
Thank you! Didn't expect it to be named that and ended up scrolling right past it. It works perfectly now thank you!Ocelot wrote: ↑Fri Jan 05, 2024 3:53 am https://www.renpy.org/doc/html/style_pr ... properties
You want left_gutter and right_gutter properties.
Also check if thumb_offset property is set correctly.
Who is online
Users browsing this forum: Bing [Bot]