Results 1 to 1 of 1

Thread: vertical scrollbar not updated when QTreeView resized

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default vertical scrollbar not updated when QTreeView resized

    hello,

    I have the following:
    A vertical QSplitter with: an edit control and a QFrame.
    The QFrame has a vertical layout: toolbar and a QTreeView

    The problem is the following: when I change the splitter position,
    the vertical scrollbar of the QTreeView is not updated.
    For example, we have in QTreeView 10 items and we can see all af them; after moving
    the splitter to make the QTreeView smaller (we can see now only 5 items) a vertical scroolbar should
    appear, but it doesn't. After clicking different items in the tree, the vertical scroll bar is updated and correctly displayed.

    Capture1.PNG

    Capture2.PNG

    What could be the problem?

    Many thanks!!!
    Last edited by pobere; 2nd November 2011 at 08:29.

Similar Threads

  1. Replies: 0
    Last Post: 1st November 2011, 12:30
  2. Replies: 7
    Last Post: 6th September 2011, 11:01
  3. Resize a vertical an horizontal scrollbar.
    By IRON_MAN in forum Qt Programming
    Replies: 3
    Last Post: 19th April 2010, 15:45
  4. Replies: 4
    Last Post: 16th October 2009, 09:19
  5. vertical scrollbar width
    By drkbkr in forum Qt Programming
    Replies: 25
    Last Post: 31st May 2008, 07:09

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.