Verified Commit a389c3e6 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Move heading of sheets into heading property

Looks a lot better, especially after the OverlaySheet refactor in Kirigami
parent 67b9488b
......@@ -9,10 +9,7 @@ Kirigami.OverlaySheet {
id: authSheet
property AuthenticationDialogRequest request
Kirigami.FormLayout {
Layout.fillWidth: true
Kirigami.Heading {
header: Kirigami.Heading {
elide: Text.ElideRight
wrapMode: Text.WordWrap
Layout.fillWidth: true
......@@ -20,6 +17,9 @@ Kirigami.OverlaySheet {
text: i18n("Authentication required")
}
Kirigami.FormLayout {
Layout.fillWidth: true
Controls.TextField {
id: usernameField
......
......@@ -40,11 +40,11 @@ Kirigami.OverlaySheet {
accepted()
}
ColumnLayout {
Kirigami.Heading {
header: Kirigami.Heading {
text: title
}
ColumnLayout {
Controls.Label {
Layout.fillWidth: true
text: inputSheet.description
......
......@@ -31,6 +31,10 @@ Kirigami.OverlaySheet {
property url url
property string title
header: Kirigami.Heading {
text: i18n("Share page")
}
Purpose.AlternativesView {
id: view
pluginType: "ShareUrl"
......
Markdown is supported
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