Jump to content

Bold/Normal when selected/unselected


Recommended Posts

Guest chrisvanbrunschot
Posted

What am I doing wrong?

What I want is: the text of the label should be "normal" when unselected and "bold" when selected.

<!-- Missed Calls Plugin -->

<plugin clsid="{0BA8ABB8-1F1D-417f-88C6-DA8530E2E7A6}" name="missedcalls" height="21">

<background>

<format state="selected" font-weight="bold"

bgimage="\Storage\ApplicationData\Home\MissedCallBlack.jpg"/>

<format state="unselected" font-weight="normal"

bgimage="\Storage\Application Data\Home\MissedCallBlack.jpg"/>

</background>

<format state="nocall" visible="false"/>

<label x="5" font-size="18">

<text>Missed calls: <calls/>

</text>

</label>

</plugin>

Guest chrisvanbrunschot
Posted

Yes I thought so, but it doesn't seem to work. I'm new at this forum and I just began learning XML and home-screen changing. Can I add my XML file somewhere so the 'Experts' can take a look at it?

Guest scudo
Posted
Yes I thought so, but it doesn't seem to work. I'm new at this forum and I just began learning XML and home-screen changing. Can I add my XML file somewhere so the 'Experts' can take a look at it?

Hi

seems that you applied format selected / unselected to Background and not text....

try that :

<!-- Missed Calls Plugin -->

Missed calls:

btw, if you want to show your XLM to experts, you can attach it directly in a message, see "file attachments" option at bottom on message compose screen...

Guest scudo
Posted
How did I miss that :) *Slaps forehead*

happens sometimes.... you're working too much on XML w411y ;)

Guest w411y
Posted
happens sometimes.... you're working too much on XML w411y ;)

:) Which is why I'm eagerly waiting for Pauls VB.net tutorials. I've also managed to understand HTML and CSS by myself. The internet is such a great resource :D

Guest scudo
Posted
:) Which is why I'm eagerly waiting for Pauls VB.net tutorials. I've also managed to understand HTML and CSS by myself. The internet is such a great resource :D

:( out of topic, but have a look on www.devguru.com for HTML / CSS docs... not really a tutorial, but all functions...

have fun ;)

Guest chrisvanbrunschot
Posted

Thanks guys, that's the solution!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.