Shoutbox

[Help] Contact List Text Colour - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Skinning (/forumdisplay.php?fid=41)
+----- Thread: [Help] Contact List Text Colour (/showthread.php?tid=80396)

[Help] Contact List Text Colour by freak544 on 12-24-2007 at 08:26 PM

Does anyone know how to change the contact list text colour as in mine and stuarts skin pack with the christmas theme the text is black but doesn't show up well on the tree background and it would be nice if it was white


RE: [Help] Contact List Text Colour by vikke on 12-24-2007 at 08:49 PM

Have you tried adding the Foreground-property where you put the Background-property for the tree background?
To select the color white, use the RGB function like this:
(stylesheet example)

code:
Foreground:rgb(255,255,255);
Or you can load it from a resource you've created, using:
code:
Foreground:rcclr(<ID>);

RE: [Help] Contact List Text Colour by freak544 on 12-24-2007 at 08:53 PM

Yeah I used foreground:rgb(255,255,255) to change the group title text colours but wasn't sure where to put it to change the contact list text colour so i will try adding it to the background property

edit: I am sure I changed the background colour in the ablayout tag and added in the foreground line but it didnt work there


RE: [Help] Contact List Text Colour by vikke on 12-24-2007 at 09:12 PM

Edit the 1004 (detailed contact list) and 1009 (compact contact list) stylesheets.

Where you see:

code:
Element[id=atom(listitem)][selected]
{
Background:rcclr(20061);
Foreground:rcclr(20065);
}
Element[id=atom(listitem)][selected][windowactive=false]
{
Background:rcclr(20064);
Foreground:rcclr(20065);
}
Element[id=atom(listitem)][selected][keyfocused=false]
{
Background:rcclr(20064);
Foreground:rcclr(20065);
}
Element[id=atom(listitem)][selected][indrag]
{
Background:rcclr(20061);
Foreground:rcclr(20234);
Alpha:128;
}
Edit the foreground values there. And do the same for 1009.

Edit: To add the default foreground, you have to create the last style by yourself like this:
code:
Element[id=atom(listitem)]
{
Foreground:rcclr(20065);
}
This one tells Messenger what to show normally when it's not selected, indrag or inactive.
RE: [Help] Contact List Text Colour by stuartbennett on 12-26-2007 at 05:10 PM

thanks Vikke, so Jason i trust we will be implementing this soon lol.

EDIT:

actually i will attempt this over the weekend.


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 02:27 PM

Hi!

I try the editting, but is not work. Sometimes i see a big nothing, because the contact list window is blank... i change a showing to a compact contact list and the colors are not changed. Help Me, pls! :(


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 02:50 PM

Well its worked for me

Next thing to do is change the PSM colours to white


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 03:06 PM

And other color is not good? Maybe orange or other...because, i want to change my C. L. background to black, and the other colors are green and orange.. :)


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 03:33 PM

search on the internet for RGB colours, click on one of the search results and it will come up with RGB values for the colours

Edit:

The green i used was 0,102,0

Here is a RGB value for orange 255,140,0


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 03:37 PM

I use a Paint (:D) for the colours. And i write this to the 1004.style:

Element[id=atom(listitem)][selected]
{
    Background:rgb(255,128,0);
    Foreground:rgb(48,172,182);
}
Element[id=atom(listitem)][selected][windowactive=false]
{
    Background:rgb(228,228,228);
    Foreground:rgb(51,51,51);
}
Element[id=atom(listitem)][selected][keyfocused=false]
{
    Background:rgb(228,228,228);
    Foreground:rgb(51,51,51);
}
Element[id=atom(listitem)][selected][indrag]
{
    Background:rgb(255,128,0);
    Foreground:rgb(128,128,128);
    Alpha:128;


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 04:04 PM

Yeah and like vikkie said you need to add this under it

code:
Element[id=atom(listitem)]
{
Foreground:rcclr(20065);
}


and also do it for 1009 style file otherwise it wont work as I found out

once thats all done it should work
RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 04:10 PM

and can i change the foreground color? (Foreground:rcclr(20065);)


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 04:13 PM

Yes of course you can like all the others you can changa in all files


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 04:19 PM

Where i write?  Here:
<Style ResID=clss>
Element
{
    FontFace:"MS Shell Dlg 2";
    FontSize:8pt;
    ContentAlign:0x00000004;
}
Element[id=atom(listitem)]
{
Foreground:rgb(0,0,0);
}
Element[id=atom(listitem)][selected]
{
    Background:rgb(255,128,0);
    Foreground:rgb(0,0,0);
}

OR here ( ? ):

Element[id=atom(listitem)][selected][indrag]
{
    Background:rgb(101,184,224);
    Foreground:rgb(0,0,0);
    Alpha:128;
}
Element[id=atom(listitem)]
{
Foreground:rgb(0,0,0);
}
Element[id=atom(listitemsel2)]
{

Because, the first is not work...:/


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 04:23 PM

Have you included a link to the file in the skininfo.xml

Also write what??


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 04:26 PM

Yes, the SkinInfo.xml is included the link to file. But it isn't work.. :S

EDIT: Ohh yeeaaaaaa....It's good...im not write a dot to a link :D and i repair it :)

THX THE HELP!!!!!!!!! ;)


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 04:29 PM

email me the plsk pack and I will look at it for you - freak544[at]hotmail[dot]co[dot]uk

also ave you made the same changes in the 1004 and 1009 file?? - As when I changed one file I needed to change the oter one aswell

this is correct

code:
Element[id=atom(listitem)][selected][indrag]
{
Background:rgb(101,184,224);
Foreground:rgb(0,0,0);
Alpha:128;
}
Element[id=atom(listitem)]
{
Foreground:rgb(0,0,0);
}
Element[id=atom(listitemsel2)]
{


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 04:31 PM

Can you help me with the white background changing?:P


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 04:32 PM

What do you mean white background changing

do you mean:

Change the background of the contact list or

Change a different background


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 04:55 PM

Change the background of the contact list...


RE: [Help] Contact List Text Colour by freak544 on 12-28-2007 at 04:57 PM

There is a tutorial on how to do it

Edit: Here is the thread http://shoutbox.menthix.net/showthread.php?tid=79783


RE: [Help] Contact List Text Colour by TRash19 on 12-28-2007 at 05:00 PM

Ok, I try again this :) THX everything!


RE: [Help] Contact List Text Colour by stuartbennett on 12-28-2007 at 07:23 PM

i changed psm text colour is the last element right at the bottom of both the 1004 and 1009 style files just change the existing foreground from (119,119,119); to whatever colour you desire, ive done this in both 1004 and 1009 howeer you dont have to do this in both, 1004 is the detailed contact list click the sort contact button and tick "show contacts details" to show the detailed contact list to see the changes have taken effect, the basic contact list in other words the compact one is 1009.

ive implemented this in our skin Jason however although it works it doesnt work on warmth's psm, i can only assume he is using plus's colour codes to force the text to show up as bold and black its the only thing i can think of to explain why his psm is uneffected, unless of course vikke you can think of something i did wrong.