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. reclaiming space from hidden widgets
Forum Updated to NodeBB v4.3 + New Features

reclaiming space from hidden widgets

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 383 Views 2 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    I've got a simple UI in which I'd like to hide something (the lower box in the pic) and reclaim that space (so the upper box can use it). I know how to hide widgets, but the space is still saved for the lower box in this case. Is this a matter of size policy?

    Thanks...

    widget.png

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Yes could be size policy but also depends on
      what type of Layout as the Box one is a bit special with that.
      Also if you have multiple layouts etc.

      mzimmersM 1 Reply Last reply
      2
      • mrjjM mrjj

        Hi
        Yes could be size policy but also depends on
        what type of Layout as the Box one is a bit special with that.
        Also if you have multiple layouts etc.

        mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #3

        @mrjj the layout was a QHBoxLayout, and it contained a QVBoxLayout. I tried several things, but couldn't get it to work. No big deal; I just deleted it. Thanks for looking at it.

        1 Reply Last reply
        1

        • Login

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