Commit 7edee2fc authored by Tobias Fella's avatar Tobias Fella
Browse files

Port Label in DocumentsPage to PlaceholderMessage

Also make it wrap on narrow windows
parent 8c89cce5
Pipeline #202800 passed with stage
in 5 minutes and 7 seconds
......@@ -102,9 +102,10 @@ Kirigami.ScrollablePage {
delegate: documentDelegate
model: docsModel
QQC2.Label {
Kirigami.PlaceholderMessage {
text: i18n("No documents attached to this reservation.")
anchors.centerIn: parent
width: parent.width - (Kirigami.Units.largeSpacing * 4)
visible: docsModel.empty
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment