How can I apply custom styles on textbuttons?

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
jackboss1
Newbie
Posts: 2
Joined: Mon Sep 18, 2017 7:23 pm
Contact:

How can I apply custom styles on textbuttons?

#1 Post by jackboss1 »

I'm trying to apply custom styles into differente textbuttons, but they keep getting the default styles from gui.rpy.

I tried "style stylename" and "style stylename is text" with different sizes, colors and fonts but it doesnt change nothing.

Does it have anything to do with style none or something?

I appreciate some help here.

Update: I think Indexed Styles is what I'm looking for here :)

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: How can I apply custom styles on textbuttons?

#2 Post by Kia »

check the style prefixes: https://renpy.org/doc/html/style_proper ... fix-search
of course you need to edit the screen.rpy

Post Reply

Who is online

Users browsing this forum: No registered users