Jump to content

Problems with transparent text


Guest Twee

Recommended Posts

I'm working on a minimalistic homescreen, and I only want the calender to be visible when I highlight it. I thought it would be no problem what so ever but it is..

I thought this code would do the trick, but it's not working. I'm kind of a beginner on XML so maybe someone out there can tell me what's wrong

<plugin clsid="{865A354A-4A96-4687-B001-C155DC0DBE76}" name="calendar" height="77"> 


      <background b-border-width="0"> 


      <format state="selected" bgcolor="transparent" fgcolor="#transparent"/> 


      </background> 


         <label font-size="12" x="1" y="6" w="130" fgcolor="#000000"> 


         <format state="selected" bgcolor="transparent" font-style="bold" fgcolor="#000000"/>


         <format state="unselected" bgcolor="transparent" font-style="bold" fgcolor="transparent"/>


            <text><time/> <subject/> @ <location/></text> 


         </label> 


      </plugin>

All best

// Jonas

Link to comment
Share on other sites

Guest scott2eyes

I don't think you can make text transparent, unfortunately.

If you just want to make it invisible when it's not selected though, try this; (uses the "h" parameter to effectively make it disappear.)

<plugin clsid="{865A354A-4A96-4687-B001-C155DC0DBE76}" name="calendar" height="77">


      <background b-border-width="0">


      <format state="selected" bgcolor="transparent" fgcolor="#transparent"/>


      </background>


         <label font-size="12" x="1" y="6" w="130" h="77" fgcolor="#000000">


         <format state="selected" bgcolor="transparent" font-style="bold" fgcolor="#000000"/>


         <format state="unselected" bgcolor="transparent" font-style="bold" fgcolor="#000000" h="0"/>


            <text><time/> <subject/> @ <location/></text>


         </label>


      </plugin>

Link to comment
Share on other sites

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.