1
0

qml: define a common Heading component for page section headings

This commit is contained in:
Sander van Grieken
2023-01-17 00:34:01 +01:00
parent aac0e4f693
commit b7964253a8
12 changed files with 56 additions and 154 deletions

View File

@@ -36,18 +36,9 @@ Pane {
width: parent.width
columns: 2
Label {
Heading {
Layout.columnSpan: 2
text: qsTr('Channel details')
font.pixelSize: constants.fontSizeLarge
color: Material.accentColor
}
Rectangle {
Layout.columnSpan: 2
Layout.fillWidth: true
height: 1
color: Material.accentColor
}
Label {