mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix background color on text input
This commit is contained in:
parent
5d9556722f
commit
02326fce70
2 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,7 @@ ApplicationWindow {
|
||||||
MatrixTextField {
|
MatrixTextField {
|
||||||
id: inviteeEntry
|
id: inviteeEntry
|
||||||
|
|
||||||
|
backgroundColor: Nheko.colors.window
|
||||||
placeholderText: qsTr("@joe:matrix.org", "Example user id. The name 'joe' can be localized however you want.")
|
placeholderText: qsTr("@joe:matrix.org", "Example user id. The name 'joe' can be localized however you want.")
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
|
|
|
@ -10,6 +10,8 @@ import im.nheko 1.0
|
||||||
TextField {
|
TextField {
|
||||||
id: input
|
id: input
|
||||||
|
|
||||||
|
property alias backgroundColor: backgroundRect.color
|
||||||
|
|
||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.text
|
color: Nheko.colors.text
|
||||||
|
|
||||||
|
@ -62,6 +64,8 @@ TextField {
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
|
id: backgroundRect
|
||||||
|
|
||||||
color: Nheko.colors.base
|
color: Nheko.colors.base
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue