Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
When displaying content in a mashup with the help of a collection widget, I get a scroll bar inside the collection widget. Instead of this, I would want the collection widget to have a height so that it accomodates all elements, but where the scrolling is done in the parent mashup.
How to do that? I know how to turn of the scrolling of containers, but not how to do the same in collection widgets.
Kind Regards
Oskar Berntorp
Hi @yalmatar,
Have you been able to find a solution, it what I want to do possible to acheive?
Kind Regards
Oskar Berntorp
Hi @oskarberntorp,
sorry for the late answer, I think you can take this suggested solution:
make sure that the Collection Widget automatically adjusts its height based on its content. Then, set the parent container so that it shows a scrollbar only when necessary.
maybe you can use the following CSS:
.p-container {overflow-y: auto;}
.coll-widget {
height: auto;
max-height: none;
}
regards
Yasin