Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
Is it possible to control container size in runtime?
If so someone please guide me.
/VR
Have you looked the Grow/Shrink ratios and grow/shrink max/min?
You can also set areas to be static if needed.
Hi @PaiChung
Thanks for your response.
I have checked these options but I'm still looking for a way to control programmatically ( examples: through extension).
/VR
What is the use case that you need to control this programmatically?
We have a widget with a list of values (horizontally aligned)
Whenever we click expand icon (last broken image) widget will expand and show some details.
We have made it a responsive widget, but whenever we expand it container size remains unchanged so we get a scroll bar inside the container. We want the container also to be expanded.
/ VR
That looks very cool.
Unfortunately I'm not too sure how you could make it do it so it doesn't have the scroll bar, I imagine that the container that is collapsing and expanding is already set to be responsive.
In thingworx from 9.2 we have an option to make the parent container scrollable, can u try to enable this on the parent container
or u can make the parent container fixed length by giving big value and hiding the scrolls
Hi @Velkumar.
I'm not sure how to do what you need especially since you're using a custom widget. Perhaps some of our developers in the community will have a suggestion
Regards.
--Sharon