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

Remove/deprecate Tumbler::visibleItemCount

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.7.0 Beta
    • Quick: Controls 2
    • None

      Arbitrary model item count, control geometry, and configurable fonts make the concept of "visible item count" a bit confusing and problematic. I'm always unsure what to specify, and seeing the property immediately raises questions like:

      • What if the items don't fit? Do they overlap?
      • Why can't Tumbler calculate a suitable value for me?
      • What if the model item count is less than the visible item count?

      Therefore, I'd like to propose removing/deprecating the visibleItemCount property. Tumbler should calculate something that fits the available geometry. Furthermore, there probably should be a bool wrap -property that is by default:

        For Gerrit Dashboard: QTBUG-53587
        # Subject Branch Project Status CR V

            mitch_curtis Mitch Curtis
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes