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

When adding a font.pointSize property changes on the listview's active item, the current item of the list is not displayed anymore when scrolling down

    XMLWordPrintable

Details

    • 8aaeff9fb126021432e469899534e87a107c8b2d

    Description

      See attached file.

      I try to increase the font.pointSize of the selected item of the listview. When adding this line:
      PropertyChanges

      { target: itemText; font.pointSize: font.pointSize+3 }

      for the first bottom listview, the selected item is not shown anymore when scrolling down the list with the up/down arrow keys.

      Strangely, the scale propery change does work well.
      PropertyChanges

      { target: itemText; scale: 1.2 }

      Moreover,
      If I uncomment the line "//height: 20" in the delegate component, this shows correctly the current selected item when scrolling down. But, I want to avoid fixing the height property because I want the cell to automatically set its height according to its contents.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            agroyer Anthony Groyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes