aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/nativestyle/ControlContainer.qml
blob: 11727aef0992476d3ef1cb93eb4af36431bfce33 (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
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Item {
    anchors.left: parent.left
    anchors.right: parent.right
    anchors.rightMargin: 7
    implicitHeight: groupBox.height

    property alias title: groupBox.title
    property real rowSpacing: 20

    default property alias data: layout.data

    GroupBox {
        id: groupBox
        anchors.left: parent.left
        anchors.right: parent.right

        ColumnLayout {
            id: layout
            spacing: 15
        }
    }
}