Skip to main content
3-Newcomer
November 14, 2024
Solved

container scrolling behaviour

  • November 14, 2024
  • 2 replies
  • 784 views

Hi,

I have a main responsive mashup, It has two Sub Containers...

1st Sub Container has some static positioned labels that's why it's set to static.
2nd Sub Container has Collection Widget under responsive type container.

Now I see all two sub-container are having Scroll bars.

Is there a way, My Main Container has a vertical Scroll bar and sub-containers can expand as much as they can, without having any scroll bars?

Thingworx version: 9.4.6

Thanks,

Abhishek Kumar

Best answer by TonyZhang

Hi @AK_11420126,

What I would do is put Collection and labels into 1 container instead of 2 sub-containers, so that you will have 1 global scroll bar to control multiple widgets without any sub-scroll-bars for each child widget.

You can use properties to set widget width for example or use custom css to style the child elements of the "main container" if necessary

See below article which is similar use case.

https://www.ptc.com/en/support/article/CS422476 

2 replies

TonyZhang16-PearlAnswer
16-Pearl
November 19, 2024

Hi @AK_11420126,

What I would do is put Collection and labels into 1 container instead of 2 sub-containers, so that you will have 1 global scroll bar to control multiple widgets without any sub-scroll-bars for each child widget.

You can use properties to set widget width for example or use custom css to style the child elements of the "main container" if necessary

See below article which is similar use case.

https://www.ptc.com/en/support/article/CS422476 

16-Pearl
November 21, 2024

Hi @AK_11420126 ,

Does my previous response answer your question? For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that my response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,