title: QML Can I Hold columns on GridView?
body: <p>I want to get fixed columns on GridView like Gird.columns.</p>
  
  <p>Is it possible?</p>
  
  <p>I tried
  verticalLayoutDirection,
  flow,
  snapMode on GridView.
  but It was changed when window is resized.</p>
  
  <p>for example,
  there are 5 items on listmodel.
  And I want just 1column, whenever window being resized.
  But When window height size smaller than total height of items, It changed over 1 column...</p>
  
  <pre><code>Rectangle {
  width: 300; height: 200
  
      MouseArea {
          anchors.fill: parent
          hoverEnabled: true
          //onClicked: grid.currentIndex = -1
          //onEntered: grid.currentIndex = -1
      }
  
  
      Component {
      //Grid {
          id: contactDelegate
          //Grid {
          //columns: 1
          Item {
              width: grid.cellWidth; height: grid.cellHeight
              //columns: 1
  
              MouseArea {
                  anchors.fill: parent
                  hoverEnabled: true
                  onClicked: grid.currentIndex = index
                  onEntered: grid.currentIndex = index
              }
  
              Column {
                  anchors.fill: parent
                  Image { source: portrait; anchors.horizontalCenter: parent.horizontalCenter }
                  Text { text: name; anchors.horizontalCenter: parent.horizontalCenter }
              }
          }
      }
  
  
      GridView {
          id: grid
          anchors.fill: parent
          cellWidth: 80; cellHeight: 80
          //verticalLayoutDirection: GridView.TopToBottom
          //flow: GridView.FlowTopToBottom
          //snapMode: GridView.SnapToRow
          //columns: 1
  
          model: ContactModel {}
          delegate: contactDelegate
          highlight: Rectangle { color: "lightsteelblue"; radius: 5 }
          focus: true
  
          flickableChildren: MouseArea {
              anchors.fill: parent
              hoverEnabled: true
              //onClicked: grid.currentIndex = -1
              //onEntered: grid.currentIndex = -1
          }
          Component.onCompleted: currentIndex = -1
      }
  }
  </code></pre>