aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/row/row.qml
blob: 88f7aa743a53f581e6a7d36bdfa126308c903ea2 (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

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]