summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-06-25 16:16:54 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-06-25 16:16:54 +0200
commit57724478745ef06b3ef3ef044513dcd33b7e218e (patch)
treede866d403cf9e8182a47ad3803bf2df662abe12c /resources/qml
parentRefresh last message when paginating backwards (diff)
downloadnheko-57724478745ef06b3ef3ef044513dcd33b7e218e.tar.xz
Require matrix v1.1 or greater
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/pages/LoginPage.qml4
-rw-r--r--resources/qml/pages/RegisterPage.qml10
2 files changed, 13 insertions, 1 deletions
diff --git a/resources/qml/pages/LoginPage.qml b/resources/qml/pages/LoginPage.qml

index 87234a22..46036242 100644 --- a/resources/qml/pages/LoginPage.qml +++ b/resources/qml/pages/LoginPage.qml
@@ -76,10 +76,12 @@ Item { } MatrixText { + Layout.fillWidth: true textFormat: Text.PlainText color: Nheko.theme.error text: login.mxidError visible: text + wrapMode: TextEdit.Wrap } MatrixTextField { @@ -130,10 +132,12 @@ Item { } MatrixText { + Layout.fillWidth: true textFormat: Text.PlainText color: Nheko.theme.error text: loginPage.error visible: text + wrapMode: TextEdit.Wrap } FlatButton { diff --git a/resources/qml/pages/RegisterPage.qml b/resources/qml/pages/RegisterPage.qml
index 44836ccb..2b2f56bd 100644 --- a/resources/qml/pages/RegisterPage.qml +++ b/resources/qml/pages/RegisterPage.qml
@@ -75,10 +75,12 @@ Item { } MatrixText { + Layout.fillWidth: true textFormat: Text.PlainText color: Nheko.theme.error text: regis.hsError visible: text + wrapMode: TextEdit.Wrap } RowLayout { @@ -122,10 +124,12 @@ Item { } MatrixText { + Layout.fillWidth: true textFormat: Text.PlainText color: Nheko.theme.error text: regis.usernameError - visible: text + visible: text && regis.supported + wrapMode: TextEdit.Wrap } @@ -147,10 +151,12 @@ Item { } MatrixText { + Layout.fillWidth: true visible: regis.supported textFormat: Text.PlainText color: Nheko.theme.error text: passwordLabel.text != passwordConfirmationLabel.text ? qsTr("Your passwords do not match!") : "" + wrapMode: TextEdit.Wrap } MatrixTextField { @@ -177,10 +183,12 @@ Item { } MatrixText { + Layout.fillWidth: true textFormat: Text.PlainText color: Nheko.theme.error text: registrationPage.error visible: text + wrapMode: TextEdit.Wrap } FlatButton {