Jump to content

changing buttons colours


zbidram
 Share

Recommended Posts

6 minutes ago, zbidram said:

Could someone help informing which line or button name in the skin settings xml in order to change the colour from blue to green, please? I've been looking for hours and couldn't reach it :(

Screenshot (203).png

Screenshot (204).png

Screenshot (205).png

I believe it's the 

primary_icon_button.xml

 

and if possible, please use the "Small and Random questions thread for small questions" like this, then we won't have 1000 small threads 

Link to post
Share on other sites

21 minutes ago, snowofman said:

I believe it's the 

primary_icon_button.xml

 

and if possible, please use the "Small and Random questions thread for small questions" like this, then we won't have 1000 small threads 

Thanks for your reply.

I understand and I am sorry for opening a new topic. 

Do you know in which folder I can find that xml? I've been searching and could not find it?

Link to post
Share on other sites

2 minutes ago, zbidram said:

Thanks for your reply.

I understand and I am sorry for opening a new topic. 

Do you know in which folder I can find that xml? I've been searching and could not find it?

sitoolkit\classes

 

you need to extraxt it from the default game

 

 

Link to post
Share on other sites

27 minutes ago, snowofman said:

sitoolkit\classes

 

you need to extraxt it from the default game

 

 

I've extracted, found that primary_button.xml and have put it in classes folder. but cannot edit the button as there are no colours inside xml. 

Link to post
Share on other sites

27 minutes ago, zbidram said:

I've extracted, found that primary_button.xml and have put it in classes folder. but cannot edit the button as there are no colours inside xml. 

isnt there a path to a graphics ? maybe you need to edit that

it's just a guess,

Link to post
Share on other sites

16 minutes ago, snowofman said:

isnt there a path to a graphics ? maybe you need to edit that

it's just a guess,

Actually, the file that I found is primary_button_news and not the one you mentioned. I could not find the primary_icon_button.xml, unfortunately.

Link to post
Share on other sites

20 hours ago, snowofman said:

isnt there a path to a graphics ? maybe you need to edit that

it's just a guess,

Could you orientating me according to this prints, please? 

the skin that I am used is opz and primary_icon_button.xml is in classes folder and folders inside graphics > buttons are both empty.

where else can I change buttons colours?

thanks

Screenshot (207).png

Screenshot (208).png

Link to post
Share on other sites

6 hours ago, zbidram said:

Could you orientating me according to this prints, please? 

the skin that I am used is opz and primary_icon_button.xml is in classes folder and folders inside graphics > buttons are both empty.

where else can I change buttons colours?

thanks

Screenshot (207).png

Screenshot (208).png

then you 'll need to extract the graphics, you can see the path in the picture you have

and there is probably a config attached with the graphics in the folder

Link to post
Share on other sites

Easiest way would be to put this into your settings file towards the top

    <colour name="primary_button"                                                                         value="title"/> 

Then just change title for like bg green

Link to post
Share on other sites

2 hours ago, TCSSkin said:

Easiest way would be to put this into your settings file towards the top

    <colour name="primary_button"                                                                         value="title"/> 

Then just change title for like bg green

image.png

thank you very much for your reply.

is it like that? after restarting skin, the colour di not change. I am missing something...

Screenshot (209).png

Link to post
Share on other sites

24 minutes ago, zbidram said:

thank you very much for your reply.

is it like that? after restarting skin, the colour di not change. I am missing something...

Screenshot (209).png

does bg green have a value ?

else try and just change it to red, to see if it has any effect at all

Link to post
Share on other sites

1 hour ago, snowofman said:

does bg green have a value ?

else try and just change it to red, to see if it has any effect at all

I changed it to red but no effect at all. also added this line to setting.xml... still not working =/Screenshot(211).thumb.png.a65ec4cad59992566d296627a1e04c48.png

Edited by zbidram
Link to post
Share on other sites

6 hours ago, zbidram said:

I changed it to red but no effect at all. also added this line to setting.xml... still not working =/Screenshot(211).thumb.png.a65ec4cad59992566d296627a1e04c48.png

as this is unknown ground to me, i can onl suggest things to try

 

try and call it primary_icon_button instead of primary_button

or maybe check the config file in the graphics i mentioned abit back

Link to post
Share on other sites

17 hours ago, snowofman said:

as this is unknown ground to me, i can onl suggest things to try

 

try and call it primary_icon_button instead of primary_button

or maybe check the config file in the graphics i mentioned abit back

I have tried that and other things but nothing has changed. I must be missing something... anyway, I will leave it like that for now. thank you so much for your help even if it's an unknown ground to you. thank you all :)

Link to post
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...