Interresting discussion, I had the very same problem.
There is something not intuitive in this behaviour.
I suggest to add a Spacer component to QtQuick.Controls
"Spacer.qml"
Item {/
Layout.fillWidth: true
}/
Even if it is so simple, it would be usefull to find it in the
documentation.
An
Thanks, Jens. The spacer item solution works for me, but I'm not sure I
completely understand what's going on here. I toyed around with this a
litte more and I'm confused by this output:
import QtQuick 2.1
import QtQuick.Layouts 1.0
Item {
width: 320
height: 240
ColumnLayout {
Hello all,
I'm having some trouble understanding what happens with the following QML:
import QtQuick 2.1
import QtQuick.Layouts 1.0
Item {
width: 320
height: 240
ColumnLayout {
anchors.left: parent.left
anchors.right: parent.right
RowLayout {