RedFlag/desktop/qml/PageHeader.qml
Fimeg 67e26be2d9 projection: begin the exact-path public epoch
The public tree and its history contain only the listed paths. Earlier projection history remains preserved internally.

Source-Sha: 913fde029b935671833254797f0f20f1eb9fabba

Policy-Sha: 913fde029b935671833254797f0f20f1eb9fabba

Tree-Digest: 180ae530c1058a2a5c89837bdce2d323ae83e669e38590ca72e75b8d92b7262f
2026-09-08 21:59:33 -04:00

47 lines
938 B
QML

import QtQuick
import QtQuick.Layouts
GridLayout {
id: root
property string title
property string subtitle
default property alias actions: actionsRow.data
columns: width < 850 ? 1 : 2
columnSpacing: 20
rowSpacing: 12
ColumnLayout {
Layout.fillWidth: true
Layout.minimumWidth: 0
spacing: 6
Text {
Layout.fillWidth: true
text: root.title
color: Theme.text
font.pixelSize: Theme.fontTitle
font.weight: Font.Bold
wrapMode: Text.Wrap
}
Text {
Layout.fillWidth: true
text: root.subtitle
color: Theme.dim
font.pixelSize: Theme.fontBody
wrapMode: Text.Wrap
}
}
RowLayout {
id: actionsRow
Layout.fillWidth: root.columns === 1
Layout.maximumWidth: root.width
spacing: 8
}
}