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

QListView does not relayout as it should

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • 4.7.0
    • 4.5.2, 4.6.0
    • Widgets: Itemviews
    • None

    Description

      Hi, the attached code shows a problem with QListView not relayouting when
      setting the icon to one if it's items. And the second item effectively ends up
      above the first one instead of below. Uncommenting the commented line (forcing
      a manual relayout) makes it work but i think it should work without this line.

      I've verified the problem on:

      • Linux Qt 4.5.2
      • Linux Q4 4.6 branch from git
      • S60 Qt 4.5.2

      Attachments

        1. main.cpp
          0.7 kB
        2. mylist.h
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes