Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi Team,
Suppose I want to set the below components of Style definitions dynamically using some service :-
-Background Color
-Secondary Background Color
-Foreground Color
-Font Bold
-Font Italic
-Font Underline
-Line Color
-Line Thickness
-Line Style
-Text Size
so that the style definitions set in the state definitions will get applied to different nodes of tree.
Can somebody help me with the logic of updating style definitions dynamically.
Also let me know, if I am having a button to reset the style, then what will be the logic?
My ThingWorx version is 8.3.
Thanks in advance.
Hello @ranjank,
There are some posts that might be of help. I am sharing with you my findings:
https://community.ptc.com/t5/ThingWorx-Developers/Change-all-label-styles-in-a-mashup/td-p/638956
https://community.ptc.com/t5/Vuforia-Studio/change-the-style-of-widget-dynamically/m-p/523915
Hope it helps,
I am using tree widget and not value display widget.
Please suggest some way out for tree widget.