Results 1 to 8 of 8

Thread: problem while resizing mainwindow.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    201
    Thanks
    19
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default problem while resizing mainwindow.

    in my main window i've 5 lables in a horaizenatllayout. all lable sizepolicy are setting to Prefered.
    in my ctor i did like
    Qt Code:
    1. ui->horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
    To copy to clipboard, switch view to plain text mode 
    But the lables size are not resizing with the main window.
    I've attched the ui. plz help me how to solve it. Thank u all.
    Attached Files Attached Files
    Cheers,
    Phillip



    --- Please post the solution you got to solve your problem. It may help others.

Similar Threads

  1. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  2. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  3. mainwindow modality
    By user in forum Qt Programming
    Replies: 0
    Last Post: 11th July 2008, 00:54
  4. Replies: 2
    Last Post: 14th August 2007, 15:16
  5. Widget resizing problem
    By fwohlfert in forum Qt Programming
    Replies: 3
    Last Post: 23rd February 2006, 08:16

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.