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

Remove/deprecate Tumbler::visibleItemCount

    XMLWordPrintable

Details

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

    Description

      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:

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: