Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57891

QTreeWidget hides text until resized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.0 Beta 1
    • 5.7.1, 5.8.0 RC
    • Widgets: Itemviews
    • None
    • 5712c62d1cfdcf56c772d8a63d52ad58945f194c

    Description

      QTreeWidget when given a text which is much too large for a column (and probably multiline), doesn't display anything at all. Only when the widget is resized, the text suddenly pops up. Probably (since I've not checked) a text which is larger than column width, but not too large gets drawn. An example of such text can be seen here: https://bitbucket.org/krojew/evernus/issues/attachments/215/krojew/evernus/1483459663.92/215/error%20transferring.jpg

      Those lines are not visible until the widget gets resized horizontally. Note this is a single multiline item.

      Attachments

        1. main.cpp
          3 kB
        2. main.cpp
          0.5 kB
        3. qtbug57891.zip
          1 kB
        4. Screenshot_13.png
          Screenshot_13.png
          7 kB

        Issue Links

          Activity

            People

              chehrlic Christian Ehrlicher
              krojew Kamil Rojewski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: