Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Splitter cannot resize widgets like I want

    General and Desktop
    1
    1
    983
    Loading More Posts
    • 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
      Woomla last edited by

      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 Reply Quote 0
      • First post
        Last post