Tage wrote:
I've been trying to change the text color of the main menu buttons, but I haven't been able to succeed so far... I have tried this...
Quote:
init:
$ style.mm_button.idle_color = Solid((0, 155, 255, 255))
$ style.mm_button.hover_color = Solid((255, 255, 255, 255))
Any help would be appreciated! =| Thank you for your time.
Invoking Solid creates a displayable, while the text color needs to be a tuple containing a color. You'd use Solid to make a background image of a color, but for text, just give the color as a tuple.
So the code you want should be:
Code:
init:
$ style.mm_button.idle_color = (0, 155, 255, 255)
$ style.mm_button.hover_color = (255, 255, 255, 255)
(Please note I just woke up, and haven't tested this.
