cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Is there a way to put a link on text (not whitespace)?

chmaloof
7-Bedrock

Is there a way to put a link on text (not whitespace)?

When I create a Link widget with some localized text, the entire space of the widget is clickable, not just the text.  This is a particular problem for localization, since we can't tailor the widget width to a specific string.  Is there a way around this?

I'm using ThingWorx 6.6.2 but we plan to upgrade to 7.1 soon.

3 REPLIES 3
qngo
5-Regular Member
(To:chmaloof)

You could customize the Link widget to make its Width property an input parameter.

chmaloof
7-Bedrock
(To:qngo)

If "make a custom widget" turns out to be the best approach, I'd just go all the way and make one that only links the text.  (Is there actually a way to customize the built-in Composer widgets?  Is their source code available somewhere?)

qngo
5-Regular Member
(To:chmaloof)

Yes, you can find them in "$CATALINA_HOME/webapps/Thingworx/Common/thingworx/widgets" and build new ones instead of replace these built-in widgets.

Top Tags