Hello, guys, I'm playing around with this great tool but have some issues.
As you can see in attachment files, my I have a date module added to my widget, the text is aligned to the left side, but sometimes when in the name of the day (sunday, wednesday) there are more letter then previous the alignment of text is offset to the right.
Can you please tell me how to lock the position of the text, I want it to be locked on the left corner and if the chars in text is more or text is longer it can be offset to right side, not left. Sorry for my english
0rtli said:
Hello, guys, I'm playing around with this great tool but have some issues.
As you can see in attachment files, my I have a date module added to my widget, the text is aligned to the left side, but sometimes when in the name of the day (sunday, wednesday) there are more letter then previous the alignment of text is offset to the right.
Can you please tell me how to lock the position of the text, I want it to be locked on the left corner and if the chars in text is more or text is longer it can be offset to right side, not left. Sorry for my english
Click to expand...
Click to collapse
Set the Text Alignment option of the (Rich) Text module from Default to Left. You need to reposition the widget after that but the content of the module will now stick to the left side and grow to the right.
Hope this helps you out
Related
*I have rich text showing the time with one line as the hour and one line as the minutes spelling out as "nine" and "seventeen" for example. Is there a way to have the text automatically fill entirely from right to left depending on what is currently displayed since "o' nine" is shorter than "seventeen" where you have to select a smaller size to be able to fit seventeen where o' nine becomes too small.
jes02ade said:
*I have rich text showing the time with one line as the hour and one line as the minutes spelling out as "nine" and "seventeen" for example. Is there a way to have the text automatically fill entirely from right to left depending on what is currently displayed since "o' nine" is shorter than "seventeen" where you have to select a smaller size to be able to fit seventeen where o' nine becomes too small.
Click to expand...
Click to collapse
In short: no. That function is currently not available in Zooper.
Is there an advanced parameter for changing the color of Rich Text when you get a new SMS or missed call?
If I have a widget that reads "You have 4(#SUSMS#) unread messages", is there a way to change the color of it from white, when 0, to green or transparent when >0?
I am trying to have it transparent when zero. I already know how to hide bitmaps just not text.
Thanks.
Put this in adv parameters and the text goes transparent when sms = 0
$#SUSMS#=0?[c]#00000000[/c]$
An other option would be to place the text off screen with [ox]
jimlahey said:
Put this in adv parameters and the text goes transparent when sms = 0
$#SUSMS#=0?[c]#00000000[/c]$
An other option would be to place the text off screen with [ox]
Click to expand...
Click to collapse
That gave the opposite effect
But with that I figured it out
Setting the color of the text to "00FFFFFF" - transparent
Then in adv parameters add $#SUSMS#!=0?[c]#FFFFFF[/c]$
Thank you so much man!
Actually any six numbers with #00 in front of them are transparent, (as long as there's no text shadow if I remember correct)
I'm glad I could help!
Why the ! in the equation? should it not be =? but this did not work for me.
mistere372002 said:
Why the ! in the equation? should it not be =? but this did not work for me.
Click to expand...
Click to collapse
No. $#SUSMS#=?...$ will never be true because #SUSMS# will never be blank since it will always be a number equal to or greater than 0.
Does anyone know the formula for changing the colour on a rectangle when a notification appears and then disappears once read
hello, i am relatively new to zooper, but I'm pretty good with tasker.
I'm creating a basic notification widget, and i have it sending and updating the notification numbers just fine, but I am lazy and i don't wan't to have to copypasta the color codes/font sizes 12 times whenever i change my mind (frequently).
I have a tasker widget called" Zooper Widget Vars" pushing these commands (via the Zooper Widget Pro Variable plugin) (brackets are obviously not in the code)
configuration #TZFLG# = 50 (large size for icons)
configuration #TZFSM# = 10 (small size for numbers)
configuration #TZFLGC# = #ffffffff (color for icons)
configuration #TZFSMC# = #ff66d5da (color for numbers)
And i just press play whenever i want to send the variables to Zooper.
in zooper, in a rich text module, I have:
[s=#TZFSM#][c=#TZFSMC#]#TWHATSAPPCT#[/c][/s]
and in another Rich text module I have:
[s=#TZFLG#][c=#TZFLGC#]f[/c][/s]
#TZFSM#,#TZFLG#,#TZLGC# and #TZFSMC#
#TWHATSAPPCT# updates just fine. Problem is, #TZFSM# and #TZFSMC# do not update the widget until #TWHATSAPPCT# changes. #TZFLG# and #TZLGC# do not change at all unless I manually change the letter icon and change it back, which is, quite frankly, a pain in the ass.
I have tried just sticking #TZFSM#,#TZFLG#,#TZLGC# and #TZFSMC# in an RT module without the BBcode around them, and their values do print out, so I know that Zooper is actually receiving them, but its just ignoring them when they are enclosed in BBtags.
In layman's terms, the widget will not redraw with the new color and size parameters unless the content that the bbcode is modifying changes. Ive spent about 2 hours youtubing and googleing and wiki-ing, and I've decided I'm a noob and should just ask for help.
thank you so much in advance for any assistance.
(Nexus 5 with the lollipop dev preview installed)
P.S. though I think that ZW Utilities is a lovely little tool, it does not solve the lack of size updates, so please do not direct me there.
digitalgraffiti said:
hello, i am relatively new to zooper, but I'm pretty good with tasker.
I'm creating a basic notification widget, and i have it sending and updating the notification numbers just fine, but I am lazy and i don't wan't to have to copypasta the color codes/font sizes 12 times whenever i change my mind (frequently).
I have a tasker widget called" Zooper Widget Vars" pushing these commands (via the Zooper Widget Pro Variable plugin) (brackets are obviously not in the code)
configuration #TZFLG# = 50 (large size for icons)
configuration #TZFSM# = 10 (small size for numbers)
configuration #TZFLGC# = #ffffffff (color for icons)
configuration #TZFSMC# = #ff66d5da (color for numbers)
And i just press play whenever i want to send the variables to Zooper.
in zooper, in a rich text module, I have:
[s=#TZFSM#][c=#TZFSMC#]#TWHATSAPPCT#[/c][/s]
and in another Rich text module I have:
[s=#TZFLG#][c=#TZFLGC#]f[/c][/s]
#TZFSM#,#TZFLG#,#TZLGC# and #TZFSMC#
#TWHATSAPPCT# updates just fine. Problem is, #TZFSM# and #TZFSMC# do not update the widget until #TWHATSAPPCT# changes. #TZFLG# and #TZLGC# do not change at all unless I manually change the letter icon and change it back, which is, quite frankly, a pain in the ass.
I have tried just sticking #TZFSM#,#TZFLG#,#TZLGC# and #TZFSMC# in an RT module without the BBcode around them, and their values do print out, so I know that Zooper is actually receiving them, but its just ignoring them when they are enclosed in BBtags.
In layman's terms, the widget will not redraw with the new color and size parameters unless the content that the bbcode is modifying changes. Ive spent about 2 hours youtubing and googleing and wiki-ing, and I've decided I'm a noob and should just ask for help.
thank you so much in advance for any assistance.
(Nexus 5 with the lollipop dev preview installed)
P.S. though I think that ZW Utilities is a lovely little tool, it does not solve the lack of size updates, so please do not direct me there.
Click to expand...
Click to collapse
Instead of entering the bbcode in the text field with the text did you try separating it out and entering it in the advanced parameters field.
jr67 said:
Instead of entering the bbcode in the text field with the text did you try separating it out and entering it in the advanced parameters field.
Click to expand...
Click to collapse
in the end i figured it out with putting all of the styling in the advanced params space and the content in the text area
thanks for your help!
A right aligned time #DH.mm# module shifts itself several pixels right if the last (and only last) digit in it is "1". This behavior does not depend on fonts (even monospaced ones!). It seems that the widget aligns the text using the actual edge of the "1" glyph, but not its box (all boxes for number glyphs have identical widths). This bug does not occur in other similar widgets (UCCW, Make Your Clock) with the same font.
The same bug is present with left alignment (when the first digit is "1"), but it is less prominent.
I am trying a new weather widget that provides weather conditions in text form. Occasionally the text it too long to fit on one line so I need to be able to force a line break in the incoming text. How do I do that?
Thanks in advance.
DerrikMo
Wrong thread
Mokum020 said:
How about something like this in a Rich Text module:
Code:
[tr=0,4]#WCCOND#[/tr]
[tr=4,20]#WCCOND# [/tr]
I don't know at wich letter you want the line break so my example is after the fourth letter.
On the first line the first four letters will be shown and on the second line (cropped) from the fifth to the twentieth letter.
You need some empty spaces (and calculate them yourself as after which letter you want the line break) in the second line because otherwise Zooper will show the text if it becomes the same or smaller as the crop start point.
Click to expand...
Click to collapse
Very crafty. And yes line breaks seem only to be avaialable in Rich Text, and to truncate/substring is good to shorten a line (and sometimes it adds the dots "...") but, both together is a cool way to do it!
Wrong thread
Mokum020 said:
How about something like this in a Rich Text module:
Code:
[tr=0,4]#WCCOND#[/tr]
[tr=4,20]#WCCOND# [/tr]
I don't know at wich letter you want the line break so my example is after the fourth letter.
On the first line the first four letters will be shown and on the second line (cropped) from the fifth to the twentieth letter.
You need some empty spaces (and calculate them yourself as after which letter you want the line break) in the second line because otherwise Zooper will show the text if it becomes the same or smaller as the crop start point.
Click to expand...
Click to collapse
Thanks for the help. I wasn't able to use the solution however, because the length of the text that I want on the 1st line is always variable. The second portion of the text comes from a different feed, so I just decided to make a different field and put that field below the 1st. But your suggestion did come in handy on a different portion of the widget. I will keep your suggestion in my stash of Zooper tricks.
Thanks again,
DerrikMo
Wrong thread