Is it possible to customize the time selector widget more then colors?
I would like to change the text On/Off with another text and same thing for Refresh now.
Solved! Go to Solution.
To customize Texts, you can go to localization tables, it are there ( the "problem" will be that it will change TW System wide ):
About the colors you should play around with FocusStyle/TimeBGStyle/TimeDatePickerStyle/TimeAutoRefreshStyle/TimeRefreshBtnStyle Style properties.
If you want to go beyond that customization options, then you can create your own Time Selector widget as an extension based on current Time Selector code, we already did it to support TimeZone and it's not hard once you are used
Localization tokens does what I need but, just to know, from your answer I understand it is possible to get the Time Selector code, am i right?
Because I thought I could get the code only from widget I download from Market Place.
Yes you can get the code from the TW Server, it's there ( it's just plain HTML5 files XXX/Tomcat 8/webapps/Thingworx/Common/thingworx/widgets/*).
I have one more question but I guess I must open a new discussion for this:
what about if I am making my own widget which among its properties has a label and I want to be a Localization Token?
What should I set into the characteristics of the property in order to be seen the little globe left to the property name?