Slider has transparency field around it

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
TellerFarsight
Veteran
Posts: 230
Joined: Sun Jun 04, 2017 8:09 pm
Projects: Vora, Secrets Untold
Location: Toronto, ON
Contact:

Slider has transparency field around it

#1 Post by TellerFarsight »

Untitled.png
Untitled.png (47.78 KiB) Viewed 1213 times
The sliders here make part of the bar around it disappear. Is there a way I can fix this?
Current Project: Vora
Also Check Out: Devil Survivor [Reverse-Engineered]

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Slider has transparency field around it

#2 Post by Alex »

You need to set the thumb_offset property.
https://www.renpy.org/doc/html/style_pr ... properties

User avatar
TellerFarsight
Veteran
Posts: 230
Joined: Sun Jun 04, 2017 8:09 pm
Projects: Vora, Secrets Untold
Location: Toronto, ON
Contact:

Re: Slider has transparency field around it

#3 Post by TellerFarsight »

Untitled.png
Okay, and now how can I open it up so the full slider is still visible at max and min values?
Current Project: Vora
Also Check Out: Devil Survivor [Reverse-Engineered]

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Slider has transparency field around it

#4 Post by Alex »

What about setting gutters to 0?

User avatar
TellerFarsight
Veteran
Posts: 230
Joined: Sun Jun 04, 2017 8:09 pm
Projects: Vora, Secrets Untold
Location: Toronto, ON
Contact:

Re: Slider has transparency field around it

#5 Post by TellerFarsight »

That doesn't look like it's changing anything. Based on where the slider disappears, I think it has something to do with the border around the vboxes. The slider disappears on that hard edge on the left side, because I guess the contents of the box are left-aligned, but it's okay on the right side. On the right side of the right-most column, it disappears again because that's the hard edge of the total preferences box. I just don't know how to change those borders.
Current Project: Vora
Also Check Out: Devil Survivor [Reverse-Engineered]

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Slider has transparency field around it

#6 Post by Alex »

Mmm, try either to set paddings for the box or to set the size of the box.
https://www.renpy.org/doc/html/style_pr ... properties

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Alex, Shie