summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-17 16:17:05 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:47:46 -0400
commit02326fce70372e2dc8753ba51286b24f93882559 (patch)
treeada6758fa452bfde0310f8f86d9482f63cad6589
parentFix up components (diff)
downloadnheko-02326fce70372e2dc8753ba51286b24f93882559.tar.xz
Fix background color on text input
-rw-r--r--resources/qml/InviteDialog.qml1
-rw-r--r--resources/qml/MatrixTextField.qml4
2 files changed, 5 insertions, 0 deletions
diff --git a/resources/qml/InviteDialog.qml b/resources/qml/InviteDialog.qml

index ae74d3da..e171808e 100644 --- a/resources/qml/InviteDialog.qml +++ b/resources/qml/InviteDialog.qml
@@ -56,6 +56,7 @@ ApplicationWindow { MatrixTextField { id: inviteeEntry + backgroundColor: Nheko.colors.window placeholderText: qsTr("@joe:matrix.org", "Example user id. The name 'joe' can be localized however you want.") Layout.fillWidth: true onAccepted: { diff --git a/resources/qml/MatrixTextField.qml b/resources/qml/MatrixTextField.qml
index 3c660bac..80732b27 100644 --- a/resources/qml/MatrixTextField.qml +++ b/resources/qml/MatrixTextField.qml
@@ -10,6 +10,8 @@ import im.nheko 1.0 TextField { id: input + property alias backgroundColor: backgroundRect.color + palette: Nheko.colors color: Nheko.colors.text @@ -62,6 +64,8 @@ TextField { } background: Rectangle { + id: backgroundRect + color: Nheko.colors.base }