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

ListView and GridView should be able to layout content wider than the view

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None

    Description

      It would be good to be able to make the view layout based on the contentWidth, e.g.

      import QtQuick 2.0
       
      Rectangle {
          width: 300; height: 300
      
          GridView {
              cellWidth: 30; cellHeight: 20
              anchors.margins: 10
              anchors.fill: parent
              model: listModel
              delegate: Text { text: index }
      
              contentWidth: 600
              flickableDirection: Flickable.HorizontalAndVerticalFlick
          }
      }
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            martjone Martin Jones (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes