Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I am using Qt Designer and I have a QStackedWidget. On one of the pages the data exceeds the size limit of the page. I added a Vertical Scroll Bar but it is not working when I run the application. Do I have to write any code for it. Please someone help with this.

Thank You.

If it's only needed on one of the pages, you'd have to put a QScrollArea in the QStackedWidget . PrisonMonkeys Jul 10, 2013 at 7:44 I tried putting the QStackedWidget into QScrollArea... This is what I am doing QScrollArea *area = new QScrollArea; area->setWidget(stackedWidget); When I run it is not even showing the StackedWidget. Sid411 Jul 10, 2013 at 8:23 Still the same...I have dragged the scroll area itself for whichever page I require more space so that is doing the work as of now... Thank You all... Sid411 Jul 10, 2013 at 8:57 Well I have tried both the methods. If I have my stacked widget on scroll area it is not helping at all. I have to add scroll area to every page that I require and have to put all the items in a layout with the scroll area. I have a query here as to if I have around 100 pages where scroll area might be required is it advisable to go with this method? Thank You... :) Sid411 Jul 10, 2013 at 12:05

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .