Debian Codegraph @

src/GUI/qml/Note.qml

raw
1 // SPDX-FileCopyrightText: 2025 James Turner
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 import QtQuick 2.4
5 import FlightGear 1.0
6
7 Rectangle {
8 property alias text: message.text
9
10 height: message.height + (Style.margin * 2)
11
12 border.width: 1
13 border.color: Style.noteFrameColor
14 color: Style.noteBackgroundColor
15
16 Text {
17 id: message
18
19 anchors {
20 left: parent.left
21 right: parent.right
22 top: parent.top
23 margins: Style.margin
24 }
25
26 font.pixelSize: Style.baseFontPixelSize
27 color: Style.baseTextColor
28 }
29 }