Button text is the same color as the button itself?

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
salceous
Newbie
Posts: 19
Joined: Sun Apr 09, 2017 12:12 pm
itch: shuttt
Contact:

Button text is the same color as the button itself?

#1 Post by salceous »

This is a stupid question but I'm still new to using Ren'py so I'm just going to ask it.

When I made a menu with choices, the buttons were completely white. If you hover over them, then they'll turn red so that you can actually see the text. How can I make the text black so that it'll show even without hovering?

Before it was sort of normal but the text faded near the sides and it disappeared, so I tried changing the color. Apparently it turned the text completely white. I tried changing the color to black but I guess I didn't do it correctly since it's still white (like in the picture).
Attachments
Capture.JPG

User avatar
indoneko
Miko-Class Veteran
Posts: 528
Joined: Sat Sep 03, 2016 4:00 am
Contact:

Re: Button text is the same color as the button itself?

#2 Post by indoneko »

Press "CTRL" + "I" while pointing your mouse to that button will reveal reveal which style you were using for that button. Either you edit that style, or edit the choice screen again.
My avatar is courtesy of Mellanthe

salceous
Newbie
Posts: 19
Joined: Sun Apr 09, 2017 12:12 pm
itch: shuttt
Contact:

Re: Button text is the same color as the button itself?

#3 Post by salceous »

indoneko wrote:Press "CTRL" + "I" while pointing your mouse to that button will reveal reveal which style you were using for that button. Either you edit that style, or edit the choice screen again.
When I did that, all it said was "Skip" at the top left corner of the screen.

If it helps, this is the code for my colors.

Code: Select all

## Colors ######################################################################
##
## The colors of text in the interface.

## An accent color used throughout the interface to label and highlight text.
define gui.accent_color = '#990000'

## The color used for a text button when it is neither selected nor hovered.
define gui.idle_color = '#aaaaaa'

## The small color is used for small text, which needs to be brighter/darker to
## achieve the same effect.
define gui.idle_small_color = '#888888'

## The color that is used for buttons and bars that are hovered.
define gui.hover_color = '#990000'

## The color used for a text button when it is selected but not focused. A
## button is selected if it is the current screen or preference value.
define gui.selected_color = '#555555'

## The color used for a text button when it cannot be selected.
define gui.insensitive_color = '#aaaaaa7f'

## Colors used for the portions of bars that are not filled in. These are not
## used directly, but are used when re-generating bar image files.
define gui.muted_color = '#c16666'
define gui.hover_muted_color = '#d69999'

## The colors used for dialogue and menu choice text.
define gui.text_color = '#404040'
define gui.interface_text_color = '#404040'

User avatar
indoneko
Miko-Class Veteran
Posts: 528
Joined: Sat Sep 03, 2016 4:00 am
Contact:

Re: Button text is the same color as the button itself?

#4 Post by indoneko »

Ah... sorry... I meant "SHIFT" + "I" >_<

In your gui.rpy file, find this line in choice button section (or add new ones if they don't exist) :

Code: Select all

define gui.choice_button_text_idle_color = "#000000"
define gui.choice_button_text_hover_color = "#ffffff"
Edit the value to meet your need
My avatar is courtesy of Mellanthe

salceous
Newbie
Posts: 19
Joined: Sun Apr 09, 2017 12:12 pm
itch: shuttt
Contact:

Re: Button text is the same color as the button itself?

#5 Post by salceous »

indoneko wrote:Ah... sorry... I meant "SHIFT" + "I" >_<

In your gui.rpy file, find this line in choice button section (or add new ones if they don't exist) :

Code: Select all

define gui.choice_button_text_idle_color = "#000000"
define gui.choice_button_text_hover_color = "#ffffff"
Edit the value to meet your need
Oh that works! Thank you so much!

Post Reply

Who is online

Users browsing this forum: No registered users