aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/row/row.qml
blob: 75e8fad100d5cd23f2dc26072d5ecd662c82a8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

//! [document]
import QtQuick 2.0

Row {
    spacing: 2
    Rectangle { color: "red"; width: 50; height: 50 }
    Rectangle { color: "green"; width: 20; height: 50 }
    Rectangle { color: "blue"; width: 50; height: 20 }
}
//! [document]