blob: 42f9c2d93b0419380eff6f4ff175f0955082abaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
Rectangle {
anchors.fill: parent
color: "transparent"
border.color: "darkorange"
property alias text: label.text
Text {
id: label
font.pixelSize: Qt.application.font.pixelSize * 0.6
color: parent.border.color
anchors.left: parent.left
anchors.bottom: parent.bottom
anchors.margins: 4
}
}
|