Dynamically resizing QSCrollArea internal widgets



  • Hi Guys

    I have the following layout in my application.
    @
    QScroll Area

    • QSrollArea's InternalWidget
      -QVBoxLayout
      -Layout 1
      - some items
      - QTableView
      -Layout 2
      - some items
      - QTableView
      @

    The contents of the QTableViews can change and I resize them dynamically. Currently when I programmatically increase the table size it is done correct, but when i shrink below the widget there is still an empty space.
    I have set setWidgetResizable( true ). Can you give me some advice on how to ensure proper resizing of all items.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.