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
Forum Updated to NodeBB v4.3 + New Features

Dynamically resizing QSCrollArea internal widgets

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 655 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 26 Jun 2014, 08:34 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

    1/1

    26 Jun 2014, 08:34

    • Login

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