Results 1 to 8 of 8

Thread: scrollBar in tabWidgets

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: scrollBar in tabWidgets

    Try this:
    Qt Code:
    1. void FrameInfo::addInfo(QString infoName, double val)
    2. {
    3. QHBoxLayout* infoLayout = new QHBoxLayout; // (holder); <-- remove parent, holder already has a layout installed (produces warning)
    4. ...
    5. holder->adjustSize(); // <-- add this as last statement of addInfo()
    6. }
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

  2. The following user says thank you to jpn for this useful post:

    baray98 (17th September 2007)

Similar Threads

  1. Scrollbar in QTreeWidget
    By sabeesh in forum Qt Programming
    Replies: 3
    Last Post: 23rd August 2007, 09:48
  2. GraphicsView/GraphicsScene: scrollbar policy Qt::ScrollBarAsNeeded
    By Pieter from Belgium in forum Qt Programming
    Replies: 4
    Last Post: 21st March 2007, 13:15
  3. about scrollbar style
    By qtopiahooo in forum Qt Programming
    Replies: 1
    Last Post: 25th January 2007, 13:34
  4. how to scroll tablewidget from outside placed scrollbar
    By chemstar in forum Qt Programming
    Replies: 5
    Last Post: 1st June 2006, 14:42
  5. QTableView number of rows and scrollbar issue
    By jnk5y in forum Qt Programming
    Replies: 3
    Last Post: 1st March 2006, 06:55

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.