Results 1 to 2 of 2

Thread: Dock resizing when move another area [resolved]

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2011
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Dock resizing when move another area [resolved]

    Hi,

    my problem is this one : I have implemented a QMainWindow with a central widget et a dock to its right, it only contains 6 QPushButton. I have made this dock to change QVBoxLayout to QHBoxLayout when the dock is dragged from the right or left to up or down....to be horizontal instead of vertical...and the opposite also.
    But, when it is done, the dock never minimize taking space as much as it could, vertically and horizontally.
    How can the dock fully minimize itself at every area changing.
    I tried resize(), thinking it would be easy, but it doesn't work.

    Thanks
    Last edited by castors33; 13th June 2011 at 21:03.

Similar Threads

  1. Replies: 0
    Last Post: 11th January 2011, 12:31
  2. Problem in Move Move Event Handler.
    By redgoof in forum Qt Programming
    Replies: 0
    Last Post: 7th April 2010, 11:45
  3. Replies: 3
    Last Post: 2nd March 2010, 20:58
  4. forcing dock windows to dock?
    By eric_vi in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2009, 15:32
  5. Move Rectangle on mouse Move
    By vermarajeev in forum Qt Programming
    Replies: 24
    Last Post: 14th May 2007, 05:34

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.