Possible bug, or I'm screwing something up: file_picker_text

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
Tage
Regular
Posts: 194
Joined: Mon Nov 01, 2004 2:18 am
Location: Memphis, TN
Contact:

Possible bug, or I'm screwing something up: file_picker_text

#1 Post by Tage »

Code: Select all

init:
    $ style.file_picker_text.color = (0, 0, 0, 255)
Only changes new save slot text.

All the specific ones do work, however.

file_picker_old, file_picker_new, file_picker_extra_info, and file_picker_new_slot all work individually.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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
Contact:

#2 Post by PyTom »

The problem is that all of the file_picker_* styles define a color in style.rpy, which takes precedence over file_picker_text.

Tage
Regular
Posts: 194
Joined: Mon Nov 01, 2004 2:18 am
Location: Memphis, TN
Contact:

#3 Post by Tage »

Oh, so I should edit style.rpy I'm assuming

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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
Contact:

#4 Post by PyTom »

No, don't do that. Just override them in script.rpy. Style.rpy is in the common directory. The files in the common directory are maintained by me, and if you change them then your changes may be lost when a new version of the file comes out. (As it did, oh, a few minutes ago.)

Tage
Regular
Posts: 194
Joined: Mon Nov 01, 2004 2:18 am
Location: Memphis, TN
Contact:

#5 Post by Tage »

AAAHHH!! JOY!! I feel like it's Christmas already n.n Thank you for the release!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot]