Jump to content
  • 0

python txt bold and color


Tasho

Question

Hi devs, do somone know how to bold and chance the color of a text :-? in this example:

 

 

"image" : "locale/ro/ui/select/char.tga",


"children" :


(
{
"name" : "character_level_value_01",
"type" : "text",


"x" : 196.5,
"y" : 33,


"text" : "",
"fontsize" : "LARGE",
},


{
"name" : "character_name_value_01",
"type" : "text",


"x" : 140.5,
"y" : 33,


"text" : "",
"fontsize" : "LARGE",
"text_horizontal_align" : "center"
},
Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
  • Bronze

You can use those functions if you don't want to make this in that place.

SetFontColor(red,green,blue);
SetPacketFontColor(color);

another method is 

"color" : yourself color code,

Kind Regards

Zerelth ~ Ellie

Do not be sorry, be better.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.