Hi.
Hi. Is there any way to make that ’18’ of date bigger than month and year and also white in color. It’s dynamic text. Can we use tags or something.
]]>Hi. Is there any way to make that ’18’ of date bigger than month and year and also white in color. It’s dynamic text. Can we use tags or something.
]]>
< ![CDATA[
try html
]]>
< ![CDATA[
Bogdan Tautu for ‘text’ html changed the color but not size. For this ‘dynamic text’ can’t even change color. This is what I used.
ddMM yyyy
]]>
< ![CDATA[
It gives ‘Error in format’
]]>
< ![CDATA[
Dynamic text doesn’t support html, you will need to use a binding.
And for some reason the size value isn’t working, try with others like h1
“
“+$ll_day+”
“+$ll_month+” “+$ll_year
Or, make two separate dynamic texts, one with the day, the other with the month/year
]]>
< ![CDATA[
I’m useless and have no idea what you’re talking about, but a question, what is that icon pack you’re using?
]]>
< ![CDATA[
Thanks!
]]>
< ![CDATA[
Alex Selene play.google.com – Sunrise Icon Pack
]]>
< ![CDATA[
TrianguloY I made two different dynamic texts. But can you please explain how to use bindings (no experience here).
]]>
< ![CDATA[
Edit the item, bindings tab, add binding, choose a property (for example text/label) and write a code that returns the value of that property with one or more special variables (click the + to see all of them) for example the thing I wrote previously
]]>
< ![CDATA[
TrianguloY I know the binding tab, variables. Saw one example in other post (it was about some folders and gestures). But how to use it here? This is different from that example.
]]>
< ![CDATA[
A binding simply means a property that changes based on the value of a variable (a property binds to a variable).
You have some properties to choose from, label, size, etc. The most important thing to know is whether that property is a string, a number, a boolean…but lightning tries to convert whatever you write to the expected type.
And then you have variables. Custom and built in ones. If the variable changes, that property automatically changes. Built in variables change by themselves, custom variables change when you want to (with the change variable action or from script)
That’s basically all you need to know. In that other post the idea was to change the visibility property based on user interaction, that’s why a custom variable was suggested.
On this case you want to change the label based on the day/month/year, which are built in variables.
As I said, try this as the value of the label property:
“
“+$ll_day+”
“+$ll_month+” “+$ll_year
]]>