Commit d9d110ed authored by Johan Ouwerkerk's avatar Johan Ouwerkerk

Sort of fix labels running off the ends of pages and being clipped.

Simply impose a max width and enable word wrapping to get labels to trade width for height.
parent 598d536d
......@@ -27,6 +27,8 @@ Kirigami.Page {
Controls.Label {
text: bannerText
color: bannerTextError ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.textColor
Layout.maximumWidth: root.width - 2 * Kirigami.Units.largeSpacing
wrapMode: Text.WordWrap
}
Kirigami.FormLayout {
Kirigami.PasswordField {
......
......@@ -27,6 +27,8 @@ Kirigami.Page {
Controls.Label {
text: bannerText
color: bannerTextError ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.textColor
Layout.maximumWidth: root.width - 2 * Kirigami.Units.largeSpacing
wrapMode: Text.WordWrap
}
Kirigami.FormLayout {
Kirigami.PasswordField {
......
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