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

delegates outside of ListView are not painted regardless of cacheBuffer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.0.0
    • None
    • Ubuntu 12.10 x86_64

    Description

      delegates outside of a ListView are invisible even if cacheBuffer is set so that it accommodates them.

      Unable to find source-code formatter for language: qml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      import QtQuick 2.0
      
      Rectangle {
          id: container
          width: 1600
          height: 400
      
          ListView {
              id: view
              width: 848
              height: 278
              anchors.verticalCenter: parent.verticalCenter
              model: 50
              orientation: ListView.Horizontal
      
              cacheBuffer: parent.width / 3
      
              delegate:
                  Rectangle {
                      id: item
                      width: 175
                      height: 278
                      color: "red"
                      border.color: "black"
                      border.width: 2
                  }
          }
      }
      

      This is a change from QtQuick 1.1, where those items were painted.

      Attachments

        Issue Links

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

          Activity

            People

              martinj Martin Jones
              saviq MichaƂ Sawicz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes