qt5-cadaques
qt5-cadaques copied to clipboard
"id: row" should be "id: column"
back-link: ch04/index.html#positioning-elements
// column.qml
import QtQuick 2.0
DarkSquare { id: root width: 120 height: 240
Column {
id: row
anchors.centerIn: parent
spacing: 8
RedSquare { }
GreenSquare { width: 96 }
BlueSquare { }
}
}
// M1<<