Page 1 of 1

GUI, Progress Bar color

Posted: Mon Mar 03, 2014 7:19 am
by AlexPhoenix
Hello again.

Do someone know, how i can create progressbar with custom color of it?(better if i can change it's color in time)
i know how to create and place them, but not how ti customize them.

Re: GUI, Progress Bar color

Posted: Mon Mar 03, 2014 7:39 am
by rk84
You need define style for every color. Example bluebar

Code: Select all

data.raw["gui-style"].default["bluebar"] = {
	type = "progressbar_style",
	parent = "progressbar_style",
	smooth_color = {b=1}
}

Re: GUI, Progress Bar color

Posted: Mon Mar 03, 2014 8:09 am
by AlexPhoenix
oh, thanks.

i think we need more detailed guide for GUI elements.