aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/qml/testprojects/uisplit/basiclayouts/main.qml
blob: 47703773298a06cd0d2bc265e9f5a187901e414a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.0

ApplicationWindow {
    visible: true
    title: "Basic layouts"
    property int margin: 11
    width: mainForm.implicitWidth + 2 * margin
    height: mainForm.implicitHeight + 2 * margin
    minimumWidth: mainForm.Layout.minimumWidth + 2 * margin
    minimumHeight: mainForm.Layout.minimumHeight + 2 * margin

    MainForm {
        id: mainForm
        anchors.margins: margin
    }

}