title: Center elements inside Scrollview
body: <p>I have a problem with centering QML objects in a <code>ScrollView</code>. I want to scroll the images and other QML elements and they should be centered. But they are always sticked to the top left angle.</p>
  
  <pre><code>import QtQuick 2.2
  import QtQuick.Controls 1.1
  import QtQuick.Window 2.0
  
  ApplicationWindow{
      id: appWindow
      width:Screen.width
      height:Screen.height
      visible: true
      ScrollView {
          anchors.fill: parent
          Rectangle {
              anchors.horizontalCenter: parent.horizontalCenter
              anchors.verticalCenter: parent.verticalCenter
              width: 800
              height: 800
              color : "yellow"
          }
      }
  }
  </code></pre>