Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to add stackwidget to a scrollArea?



  • I have a vertical layout Box on top of a stackwidget which is on top of scrollArea.How to add vlayoutBox to stackwidget and how to add this stackwidget further to scrollArea.?My stackwidget,verticalLayoutBox and scrollarea are all created in designer mode.Please suggest


  • Lifetime Qt Champion

    Hi
    What is issue ?
    you can just do it
    Add scrollArea to form
    Add Stacked to scrollArea
    right click free area in scrollarea and choose layout in menu
    Add something to stacked
    Right click stacked in free area, and select layout from menu
    ?
    alt text


Log in to reply