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. Fit Tree View fit in widget

Fit Tree View fit in widget

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 768 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
    gerberka
    wrote on last edited by
    #1

    I have Dock Widget with TreeView
    When I resize dock, tree view not resized
    I set sizePolicy for both dockWidgetContents and treeview "Expanding"
    How I can correct this?

    !https://pp.vk.me/c625827/v625827274/2f3/nKQz_GZXVxo.jpg(Screenshot)!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      You need to put TreeView in QLayout (vertical or horizontal)

      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