Hello all,
I'm new to skinnig and I have a problem right now. What I would like to know is when I change a font is there a limitation to this?? Cause right now If I set the font to one I found in the skins stealth, the font is exocet, it works properly, I see the modification in my buddy window. But If i set it to another one I found on Dafont, Coconut-Medium.ttf, I can't see the change!!!
Thank you for your help!
Well you didn't post any code up or mention what method's you have tried, so I can't really say what your issue is. Anyway I will outline a few things, might help, might not.
The formatting of text is a really gray area now in Messenger. Whether or not it actually works is dependent on the font you use and the region you want it to apply to. If you are using the method where you just replace the 4 strings that define what font uses messenger globally, then the only limitations you face are related to formatting (color, size, etc) in non-skinnable regions and whether or not your font has all the right characters.
If you are using the other method where you are going into the styles and definitions and manually changing the code to a custom font, then you are faced with the issues where certain parts of Messenger will override the font back to the value set in one of the 4 global strings or what is in the OS itself (on top of the formatting issues already present in 9).
Thank you for your answer Willz. For some weird reason now it's working fine... I have no clue why... My house computer has Windows Vista and the bold works fine... Here at work with XP there is no difference between the bold and the medium!!! Anyways it's not that important!
Thank you!
I do have a second question for you since you are the guru in skinning!!!
I'm trying to revamp the whole logon screen, that is my first step in skinning the whole messenger. And I would like to understand one thing.
Right now I'm trying to move the Welcome back to the left of the DP, so what I did is this
Code:
<Element Layout=FillLayout() Active=0>
<element layoutpos=auto layout=FillLayout() id=atom(idUserTileArea)>
<Element Id=atom(idHeaderTitle) FontFace="Coconut-BoldOblique" FontSize=rcint("msgr",20983)pt Foreground=rcclr("msgr",20768) Padding=Rect(0,0,0,5)>
<*PlusSkin Conditions(HideDP = false) *>
<element layout=FillLayout() id=atom(idUserTileVisibility) padding=Rect(4,20,0,0) visible=true>
</*PlusSkin*>
<*PlusSkin Conditions(HideDP = true) *>
<element layout=FillLayout() id=atom(idUserTileVisibility) padding=Rect(4,20,0,0) visible=false>
</*PlusSkin*>
<element layout=FillLayout() id=atom(idUserTileContainer) class="Full">
<element background=rcclr("msgr",20720)/>
<MSGRAsyncImage tooltip=true errorimage=48024 loadingImage=48024 class="Full" id=atom(idUserTile) Enabled=false Accessible=true AccName=rcstr("msgr",46415) AccRole=40/>
</element>
<element id=atom(idUserTileBorder) class="Full" tag=1/>
</element>
</Element>
</element>
</Element>
Has you can see I moved the part of the welcome back in the <Element> of the DP but I can't seem to be able to put them side by side
What am I doing wrong??
It's not just a matter of moving stuff around and it will magically work. Most times you want to change the layout of something you have to restructure the window and create new elements to make it work. To be honest I can see that layout being problematic in terms of resizing and you would have to restructure to whole thing practically to make it work.
At any rate you would have to experiment with the different layout types to see if they offer different results. For example Flowlayout() lays the child elements out next to each other, you just have to change its inner values to change how. Take a look at how flowlayout is used in other windows. That's about all the help I can offer without actually going in and doing it myself (which I can't do at the moment)