Results 1 to 6 of 6

Thread: QScrollArea and layouts

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2012
    Posts
    173
    Thanks
    48
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QScrollArea and layouts

    Hello all,

    I would like if anyone can explain to me
    why in the designer and when using the QscrollArea the scroll bar are not shown, but when i run it the widget looks smaller and the scrolls are shown.

    what i have tried :
    Fix the size (width and height)
    Setting the size policy to fixed (Horizontal and vertical)
    change the layout margin of the group-box, where i have the scrollArea placed, and set all of them to zero.
    , but still the same happen.

    I have :
    A group-box with a grid layout
    then I places a scroll area on it with a grid layout as well
    then places my other widget buttons, labels and lineEdit

    see attachment for a pic in designer and in run time.
    Attached Images Attached Images

Similar Threads

  1. Need Help with Layouts
    By baluk in forum Qt Programming
    Replies: 2
    Last Post: 21st October 2010, 07:30
  2. Layouts
    By csvivek in forum Qt Tools
    Replies: 3
    Last Post: 7th May 2008, 07:22
  3. Replies: 2
    Last Post: 10th March 2008, 20:16
  4. Layouts
    By Dumbledore in forum Qt Tools
    Replies: 1
    Last Post: 14th October 2007, 01:01
  5. Layouts - Name cant be set
    By manivannan_1984 in forum Qt Programming
    Replies: 1
    Last Post: 14th September 2006, 18:38

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.