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

QTreeWidgetItem with itemWidget messed up when inserting at top

    XMLWordPrintable

Details

    • All
    • 875420f1c29f0d5e66b4dcacbe95d31dd5dca585 (qt/qtbase/5.14)

    Description

      When a QTreeWidgetItem with an itemWidget is added at index 0 in a QTreeWidget the layout of the widget in the QTreeWidgetItem gets messed up and is not aligned.

      This does not happen if the item is added at the bottom.

      A test app demonstrating the problem is attached.

      Attachments

        1. image-2020-01-30-20-56-34-386.png
          8 kB
          Hugo Leitao
        2. QTreeTest.zip
          7 kB
          Hugo Leitao
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chehrlic Christian Ehrlicher
            hugol Hugo Leitao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes