Page 1 of 1

[SOLVED] Custom Radio Button Text Color

Posted: Sun Oct 15, 2023 12:33 pm
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?