blob: ac128686279d96d945de3c1f229dc42b5d8a639f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.7
import QtQuick.Layouts 1.3
Rectangle {
width: 100
height: 100
color: "black"
property alias layout: layout
property alias item1: r1
RowLayout {
id: layout
anchors.fill: parent
visible: false
spacing: 0
Rectangle {
id: r1
color: "red"
layer.enabled: true
Layout.fillWidth: true
Layout.fillHeight: true
}
}
}
|