Results 1 to 2 of 2

Thread: treeWidgets resizeColumnToContents not working properly

  1. #1
    Join Date
    Feb 2006
    Posts
    21
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default treeWidgets resizeColumnToContents not working properly

    Qt 4.0.1 Windows

    treeWidgets resizeColumnToContents only resizes the column to the largest visible item. Any item that is not shown do to the tree being to long for the area (thus a scrollbar is shown) is not considered for it's size. So what happens is that if the items being shown are short and then someone scrolls to a longer name it is cut off.

    Any idea how to fix this or reimplement resizeColumnToContents to fix this?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: treeWidgets resizeColumnToContents not working properly

    First thing you might try is to upgrade your Qt installation, because 4.0.x series contained many bugs and it's possible it has been solved in one of 4.1.x releases.

Similar Threads

  1. Mac OS X UI not working
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2006, 01:02
  2. Signals/Slots stopped working
    By Jimmy2775 in forum Qt Programming
    Replies: 8
    Last Post: 31st March 2006, 21:11
  3. QSettings - beginReadArray not working
    By Mike in forum Qt Programming
    Replies: 7
    Last Post: 9th January 2006, 21:24

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.