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

QScrollArea not expanding



  • Hello all,
    I am using Qt Designer, and I created a scroll area, then inserted a nested layout inside of it (Two Form layouts inside a bigger one). My layout contains a 8x4 grid of widgets (labels and lineEdits). However, I can't get QScrollArea to expand and show the full gird. it now only shows 3x4 grid of those widgets, and the remaining are just berried under.
    I can't seem to find a solution to this problem, and I couldn't find any similar post online.
    Will someone please point out to me what am I missing?

    Screenshot.png



  • @Ahmed-Zeid

    Use Layout For your inside controls of ScrollArea
    then Put Your ScrollArea in Vertical Layout



  • @Ahmed-Zeid

    Use Layout For your inside controls of ScrollArea
    then Put Your ScrollArea in Vertical Layout


Log in to reply