Jump to content

Recommended Posts

Posted

hi guys..

i'm trying to align my clock to the right of the screen, but what code do I need? I've tried:

<clock>


         <time y="0" text-align="right"/>


</clock>

But that doesn't seem to work? Any thoughts? I'm new to XML so I'm trying to bluff my way through..

Cheers!

Ben.

Guest dhutchison
Posted

I'm new to XML also, I found last night you can position the time further to the right with X="140". You will need to experiment with the value to get the position were you want (depending on what font size you've selected).

Guest alexknight
Posted

This is the code i use on my home screen - it has the orange carrier on the left, the date in the centre and the time to the right all on one line

<plugin clsid="{E09043DF-510E-4841-B652-388316977A7A}" name="carrier" height="20"> 


        <label> 


        <text><carrier/></text> 


        </label> 


        <clock> 


        <date mode="short" halign="center"/> 


        <time mode="24" x="140"/> 


        </clock> 


        </plugin>

see if this works for you guys

Alex

Guest Paul [MVP]
Posted

Does this mean you could use halign="right" for the time?

P

Guest alexknight
Posted

can't say i've tried it - but i can't see why not??

have a go - see what happens??

Alex

Guest hotphil
Posted

Cool, my home screen looks much better with the date in the middle. I now only need one little extra bit to get it the way I want it - Does anyone know how to get more than one all day event showing? I think the relevant bit in my xml file is

<plugin clsid="{2FFD93B3-0FF0-4228-A6D6-D2DF177D7D92}" name="alldayevent" height="20">


<background>


<format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/>


</background>


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


<label h="16">


<text><subject/></text>


</label>


</plugin>

I'm new with this xml stuff and I've had a play about, but can't get more than one to show. No doubt I'm missing something blindingly obvious. Any help appreciated.

phil

Guest alexknight
Posted

i would try changing the height to 40

i don't know if that would help - currently it is set to not visable when there is no event and set to 20 (which is one row of text) when active - see if that works. I'm fairly new to xml too so i could be way off the mark too

Alex

Guest hotphil
Posted

Cheers Alex but I'd already tried that with no joy :cry:

I'll keep plug-in ing away.

Phil

Guest Neil Enns (MS)
Posted

You can control text alignment with the halign and valign attributes. haligh is for horizontal alignment and supports left, center, and right (sorry about the US english spelling of centre!). valign supports top, middle, and bottom.

The all-day event plugin can only display one event (the first one in the database). The one we shipped doesn't have a way of telling it to display the 2nd, 3rd, etc. appointment. Sorry :D

Guest alexknight
Posted

Neil

any chance of an update that could fix this - its a bit of a pain not being able to see all your appointments on the homescreen??

Alex

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.