xsize and ysize doesn't effect sliders in preferences

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
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

xsize and ysize doesn't effect sliders in preferences

#1 Post by Kia »

I noticed this odd behavior in slider styles, size parameters doesn't effect bars in preferences screen but other parameters work fine.
in this example:

Code: Select all

style slider_slider is gui_slider:
    xsize 100 left_bar "#fff"
the bar color changes but the size stays the same.
when I apply the size directly to the bar it works:

Code: Select all

bar value Preference("music volume") xsize 100
is there some miscommunication between styles and the bars?

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: xsize and ysize doesn't effect sliders in preferences

#2 Post by Kia »

still looking for a solution

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Hojoo, voluorem