Guest macdat Posted November 30, 2004 Report Posted November 30, 2004 I have used the RJTime plugin to show an analogue clock face also digital time and text date. The text size and weight is ok when the phone starts up or i switch to my custom home screen, but as soon as i select the plug in the text shrinks and won't go back ! Here's my code.... <plugin clsid="{AAEC6C66-F860-4513-8966-1FE9FA678987}" height="38"> <format font-face="nina" font-size="14" font-weight="bold"/> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT" font-face="nina" font-size="14" font-weight="bold"/> </background> <action target="StorageWindowsStart MenuCalendar.lnk"/> <label x="0" y="0"><clock size="34" bgtext="transparent" fgcolor="COLOR_HOMETEXT" font-face="nina" font-size="14" font-weight="bold"/></label> <label x="30" y="8" halign="right" w="176"><timeString format="HH:mm"/> <dateString format=" ddd dd MMM" font-face="nina" font-size="14" font-weight="bold"/></label> </plugin>
Guest RemyJ Posted December 6, 2004 Report Posted December 6, 2004 First, sorry for the late response. Been super busy the past few weeks. I think the problem is that you're specifying the selected font format inside a background element. The font attributes aren't valid for background so they're being ignored. Try something like this... <format font-face="nina" font-size="14" font-weight="bold"/> <format state="selected" font-face="nina" font-size="14" font-weight="bold"/> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT" /> </background>
Guest macdat Posted December 9, 2004 Report Posted December 9, 2004 Remy Here is my entire home screen, I have changed the format settings as you advise, but the Time and Date line keeps reverting back to size 12 normal weight when I move up and down the plugins on the screen. <?xml version="1.0"?> <home> <author>Microsoft Corporation</author> <contacturl>http://www.microsoft.com/</contacturl> <title>Andy's Windows</title> <version>1.0</version> <default font-face="nina" font-size="14" font-weight="bold" padding-left="4" padding-right="4" bgcolor="transparent" fgcolor="COLOR_HOMETEXT" padding-top="2" b-border-color="COLOR_HOMERULE" b-border-width="1"> <format state="selected" fgcolor="COLOR_HOMEHIGHLIGHTTEXT"/> </default> <background bgimage="windowsWindowsMobile.jpg" valign="bottom" bgcolor="COLOR_GRADRIGHT" /> <scheme> <color name="COLOR_WINDOW" value="#FFFFFF" /> <color name="COLOR_WINDOWTEXT" value="#000000" /> <color name="COLOR_STATIC" value="#FFFFFF" /> <color name="COLOR_STATICTEXT" value="#000000" /> <color name="COLOR_GRAYTEXT" value="#808080" /> <color name="COLOR_WINDOWFRAME" value="#000000" /> <color name="COLOR_HIGHLIGHT" value="#004196" /> <color name="COLOR_HIGHLIGHTTEXT" value="#FFFFFF" /> <color name="COLOR_MENU" value="#C4E7FF" /> <color name="COLOR_MENUTEXT" value="#000000" /> <color name="COLOR_GRADLEFT" value="#ffffff" /> <color name="COLOR_GRADRIGHT" value="#C5E3F5" /> <color name="COLOR_INTGRADLEFT" value="#ffffff" /> <color name="COLOR_INTGRADRIGHT" value="#A1D6F5" /> <color name="COLOR_HIGHGRADLEFT" value="#004196" /> <color name="COLOR_HIGHGRADRIGHT" value="#004196" /> <color name="COLOR_TRAYGRADLEFT" value="#2E97E3" /> <color name="COLOR_TRAYGRADRIGHT" value="#004196" /> <color name="COLOR_TRAYTEXT" value="#FFFFFF" /> <color name="COLOR_BTNFACE" value="#8ED4F7" /> <color name="COLOR_BTNTEXT" value="#000000" /> <color name="COLOR_SCROLLBAR" value="#2E97E3" /> <color name="COLOR_alertWINDOW" value="#C4E7FF" /> <color name="COLOR_alertTITLE" value="#004196" /> <color name="COLOR_alertRULE" value="#000000" /> <color name="COLOR_HOMETEXT" value="#FFFFFF" /> <color name="COLOR_HOMEHIGHLIGHTTEXT" value="#FFFFFF" /> <color name="COLOR_HOMERULE" value="#003B8F" /> <color name="COLOR_HOMEHIGHLIGHT" value="#003684" /> </scheme> <plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="20"> <iconbar fgcolor="COLOR_TRAYTEXT"/> <background gradient="title" bgcolor="COLOR_TRAYGRADLEFT" b-border-color="COLOR_WINDOWFRAME" b-border-width="1"/> </plugin> <plugin clsid="{79EFB752-CB70-446d-B317-499723482B3D}" name="mru" height="20"> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT" halign="center" /> <mru max-buttons="5" x="40" icon-size="16" /> </plugin> <plugin clsid="{E09043DF-510E-4841-B652-388316977A7A}" name="carrier" height="20"> <background b-border-width="0"> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <label bgcolor="transparent" halign="left" font-weight="bold" y="0" x="-3" fgcolor="#FF8000"> <text><carrier/></text> </label> </plugin> <plugin clsid="{95976968-45D5-40c9-9779-2B859B1C2FEC}" name="profile" height="20"> <background b-border-width="0"> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <label halign="right"> <text><profile/></text> </label> </plugin> <!-- RJTime --> <plugin clsid="{AAEC6C66-F860-4513-8966-1FE9FA678987}" height="20"> <format font-face="nina" font-size="14" font-weight="bold"/> <format state="selected" font-face="nina" font-size="14" font-weight="bold"/> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <action target="StorageWindowsStart MenuCalendar.lnk"/> <label y="0" halign="left"><timeString format="HH:mm"/></label> <label y="0" halign="right"><dateString format="ddd dd MMM yyyy"/></label> </plugin> <plugin clsid="{37391041-C324-4725-BEE1-3232ED3539CA}" name="callprog" height="41"> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <format state="nocall" visible="false"/> <label> <text>Call in progress:</text> </label> <label y="17"> <text><progress/></text> </label> </plugin> <plugin clsid="{0BA8ABB8-1F1D-417f-88C6-DA8530E2E7A6}" name="missedcalls" height="20"> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <format state="nocall" visible="false"/> <label h="16"> <text>Missed calls: <calls/></text> </label> </plugin> <plugin clsid="{A2536C55-6AC2-4c31-9542-B144B0E9D077}" height="30" width="100%" wrap="1" autohide="1" autoheight="1"> <format font-face="nina" font-size="12" font-weight="normal" padding-bottom="3" padding-top="2"/> <format state="selected" font-face="nina" font-size="12" font-weight="normal" padding-bottom="3" padding-top="2"/> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <label><text><event/></text></label> </plugin> <plugin clsid="{A2536C55-6AC2-4c31-9542-B144B0E9D077}" height="30" width="100%" wrap="1" autohide="1" autoheight="1"> <format font-size="12" font-face="nina" font-weight="normal" padding-bottom="3" padding-top="2"/> <format state="selected" font-face="nina" font-size="12" font-weight="normal" padding-bottom="3" padding-top="2"/> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <label><text><date/></text></label> <label><text><date/><time/><endtime/> <subject/><location/></text></label> </plugin> <plugin clsid="{A2536C54-6AC2-4c31-9542-B144B0E9D077}" height="30" width="100%" wrap="1" autohide="1" autoheight="1"> <format padding-bottom="3" padding-top="2"/> <format state="selected" padding-bottom="3" padding-top="2"/> <background> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <label><text><sms/><mms/><email/></text></label> </plugin> <plugin clsid="{13091997-1512-2103-3005-197719802002}" name="Batterie Usage" height="16" refresh="60" marge_left="4" marge_right="3"> <format font-face="nina" font-size="12" font-weight="normal"/> <format state="selected" font-face="nina" font-size="12" font-weight="normal"/> <background> <format state="selected" bgcolor="COLOR_STATIC"/> <format state="unselected" bgcolor="COLOR_STATIC"/> </background> <percent x="148" y="2" font-size="12" font-weight="normal"/> <time x="75" y="2" format="d h m" font-size="12" font-weight="normal"/> </plugin> <!-- RJTime --> <plugin clsid="{AAEC6C66-F860-4513-8966-1FE9FA678987}" height="40"> <format font-face="nina" font-size="12" font-weight="normal"/> <format state="selected" font-face="nina" font-size="12" font-weight="normal"/> <background b-border-width="0"> <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/> </background> <action target="StorageWindowsStart MenuCalendar.lnk"/> <label x="0" y="0"> <clock size="38" bgtext="transparent" fgcolor="COLOR_HOMETEXT"/> </label> </plugin> </home>
Guest RemyJ Posted December 9, 2004 Report Posted December 9, 2004 The problem may be related to having 2 instances of RJTime in the homescreen. I can't test this on my phone right now so could you try removing one of the instances and see what happens?
Guest macdat Posted December 10, 2004 Report Posted December 10, 2004 That doesn't make any difference, i already tried that.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now