Fix background color on text input

pull/595/head
Loren Burkholder 3 years ago
parent 5d9556722f
commit 02326fce70
  1. 1
      resources/qml/InviteDialog.qml
  2. 4
      resources/qml/MatrixTextField.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: {

@ -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
}

Loading…
Cancel
Save