XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Leading Zero in Clock Hour https://www.bbs.xwidget.com/viewtopic.php?f=7&t=5563 |
Page 1 of 1 |
Author: | sbs8331 [ March 25th, 2015, 12:40 pm ] |
Post subject: | Leading Zero in Clock Hour |
Greetings. I'm new to XWidget and am trying to learn. I've downloaded the LG G2 and Galaxy S6 skins, and would like to know if there is a way to suppress the leading zero on the clock hour so that (in 12 hour format) it displays "4:37" and not "04:37". Thanks in advance. |
Author: | meme [ March 25th, 2015, 1:17 pm ] |
Post subject: | Re: Leading Zero in Clock Hour |
If it is a text component used to display the time you can change the format of the tag from %Time0 (example:01:01) to %Time (example:1:01) |
Author: | sbs8331 [ March 30th, 2015, 9:57 am ] |
Post subject: | Re: Leading Zero in Clock Hour |
meme wrote: If it is a text component used to display the time you can change the format of the tag from If I'm looking at this correctly, the object is an image, and in the Bind Core settings, though I see the "Time" tag you specify, this specifies a Core label of "num\${HourTens}.png". I guess with that setup there's no way to get rid of the leading zero. Bummer. Thanks.
%Time0 (example:01:01) to %Time (example:1:01) |
Author: | Jimking [ March 30th, 2015, 10:01 am ] |
Post subject: | Re: Leading Zero in Clock Hour |
Yes, if the 4 numbers are images you can't delete the first "zero".. |
Author: | sbs8331 [ April 2nd, 2015, 8:38 am ] |
Post subject: | Re: Leading Zero in Clock Hour |
jimking wrote: Yes, if the 4 numbers are images you can't delete the first "zero".. Understood. I'm learning. I found a GS6 widget on XDA that has a text clock and modified it. I've also downloaded a number of your great widgets (GS Weather Transparent, Nature, ASUS Padfone 2 CW Original, My Atrix HD Widget V2, Acer Liquid S1 Cline v2) and tweaked them to add things like conditions text or update time or hi/low temps. They look great. Thank you.
|
Author: | Jimking [ April 2nd, 2015, 11:37 am ] |
Post subject: | Re: Leading Zero in Clock Hour |
You're welcome sbs8331. I'm glad that you like my work! ![]() |
Author: | sbs8331 [ April 2nd, 2015, 12:24 pm ] | ||
Post subject: | Re: Leading Zero in Clock Hour | ||
jimking wrote: You're welcome sbs8331. I'm glad that you like my work! I'll keep checking for new widgets. I'm not creative enough to create them, but I can tweak them. One tweak I made to the GS Weather Transparent was to change the sun images to match (extracted from) the Touchwiz widget seen here http://forum.xda-developers.com/showthread.php?t=2766014, as well as adding hi/lo temp and update time. Just my personal preference, as the images that came with the widget don't show up well on my device. Thanks again.
![]()
|
Author: | Jimking [ April 2nd, 2015, 1:45 pm ] |
Post subject: | Re: Leading Zero in Clock Hour |
Great! You can use the forum here to upload your alternative versions, if you want, to "Share your creations" section. |
Author: | sbs8331 [ April 2nd, 2015, 1:49 pm ] |
Post subject: | Re: Leading Zero in Clock Hour |
jimking wrote: Great! You can use the forum here to upload your alternative versions, if you want, to "Share your creations" section. OK. I didn't want to do anything inappropriate, given that they're just tweaks to your development.
|
Author: | Jimking [ April 2nd, 2015, 2:21 pm ] |
Post subject: | Re: Leading Zero in Clock Hour |
In general, if you give credits to the original uploader, it's ok. New ideas and new designs are always welcome. ![]() |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |