title: Qt5 QML, when to use a ColumnLayout vs Column?
body: <p>For example, this works:</p>
  
  <pre><code>import QtQuick 2.5
  import QtQuick.Controls 1.4
  import QtQuick.Controls.Styles 1.4
  import QtQuick.Layouts 1.2
  
  ApplicationWindow
  {
      visible: true
      width: 640
      height: 480
      title: qsTr("Hello World")
  
      function thingWidth()
      {
          return width*80/100
      }
  
      Column
      {
          spacing: 10;
          anchors.horizontalCenter: parent.horizontalCenter
  
          Thing { color: "red"; width: thingWidth(); }
          Thing { color: "yellow"; width: thingWidth();  }
          Thing { color: "green"; width: thingWidth();  }
      }
  
  }
  </code></pre>
  
  <p>But change <code>Column</code> to <code>ColumnLayout</code> and it doesn't (resizing window causes layout to go wrong).</p>
  
  <p>any  help, thanks.</p>
  
  <p>EDIT 1:</p>
  
  <p>Here's also <code>Thing.qml</code> as requested,</p>
  
  <pre><code>import QtQuick 2.0
  
  Item {
      property alias color: rectangle.color
      width: 50; height: 50
  
      Rectangle
      {
          id: rectangle
          border.color: "white"
          anchors.fill: parent
      }
  }
  </code></pre>
  
  <p>It looks like my post is mostly code. Yes, nanny it does! that's because people post code on here.</p>