summaryrefslogtreecommitdiffstats
path: root/tests/manual/examples/quick/customdialogs/MessageRectangle.qml
blob: 09a202cf34bb31d26f9f0abd1b79aea2797023ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick

Rectangle {
    property alias text: messageText.text
    width: parent.width
    height: 30
    visible: false
    color: "#80c342"
    Text {
        id: messageText
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.verticalCenter: parent.verticalCenter
        font.pointSize: 12
    }
}