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. Splitter cannot resize widgets like I want

Splitter cannot resize widgets like I want

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.0k Views
  • 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.
  • W Offline
    W Offline
    Woomla
    wrote on last edited by
    #1

    Hi,

    I have a hard time understanding how the sizeing of widgets works. I have a small example with some splitters and widgets and graphicviews. In this example, the horizontal splitter can not get the top widget small. I really don't understand why this is.

    I also really would like to know how I can give this top widget an initial height, so all it's child widgets also have an initial height.

    "GraphicsMainWindow.cpp":http://pastebin.com/xv5nFw9Q
    "GraphicsMainWindow.h":http://pastebin.com/EWpdHXNM
    "GraphicsMainWindow.ui":http://pastebin.com/rYw7ruVf

    W.

    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