[SOLVED] Custom Radio Button Text Color

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
amaturemanga
Regular
Posts: 97
Joined: Sun Mar 08, 2015 6:55 pm
Deviantart: amaturemanga
Skype: amature.manga
Contact:

[SOLVED] Custom Radio Button Text Color

#1 Post by amaturemanga »

Hello i'm updating my gui so using gui.idle_color is set it to white. And then for gui.hover_color i set it to bright green. The problem is that for my settings menu the background i use is an old book with dark yellow pages. So for my radio buttons in the settings menu you cant see the radio button text.

Image

so i'd like to create a style that changes the radio button text color. To black when idle, dark green when hovered, and dark grey when already selected.

Here's what i've defined in gui

Code: Select all

define gui.radio_button_text_color_idle = '#000000'
define gui.radio_button_text_color_hover = '#023020'
define gui.radio_button_text_color_insensitive = '#6F7378'
put im confused on how to create the style how would i assign these to a style and then apply it. To apply it should just be

Code: Select all

style radio_button_text is new_style_name_goes_here
correct?

Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot]