GODT-1824: sign-in error label did not wrap.

This commit is contained in:
Xavier Michelon
2022-09-21 08:01:51 +02:00
parent 40fb9de15e
commit f76aec8b5a
5 changed files with 58 additions and 8 deletions

View File

@ -185,13 +185,15 @@ FocusScope {
ColorImage {
color: root.colorScheme.signal_danger
source: "/qml/icons/ic-exclamation-circle-filled.svg"
height: errorLabel.height
sourceSize.height: errorLabel.height
height: errorLabel.lineHeight
sourceSize.height: errorLabel.lineHeight
}
Label {
colorScheme: root.colorScheme
id: errorLabel
wrapMode: Text.WordWrap
Layout.fillWidth: true;
Layout.leftMargin: 4
color: root.colorScheme.signal_danger