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

We are troubleshooting an issue impacting community login, and it may be intermittently unavailable. Sorry for any inconvenience.

How to control container size in runtime through an extension

Velkumar
18-Opal

How to control container size in runtime through an extension

Hi, 

 

Is it possible to control container size in runtime?

 

If so someone please guide me.

 

/VR

9 REPLIES 9
PaiChung
22-Sapphire I
(To:Velkumar)

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 

PaiChung
22-Sapphire I
(To:Velkumar)

What is the use case that you need to control this programmatically?

We have a widget with a list of values (horizontally aligned)

Velkumar_0-1638274581143.png

Whenever we click expand icon (last broken image) widget will expand and show some details. 

 

Velkumar_1-1638274690107.png

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

 

PaiChung
22-Sapphire I
(To:Velkumar)

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

 

slangley
23-Emerald II
(To:Velkumar)

Hi @Velkumar.

 

Is the widget you're using custom?

 

Regards.

 

--Sharon

HI @slangley 

 

Yes

 

/VR

slangley
23-Emerald II
(To:Velkumar)

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

Announcements


Top Tags