Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dynamically resizing QSCrollArea internal widgets

Dynamically resizing QSCrollArea internal widgets

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 693 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gsinekliev
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved