Add theme properties for autocompletion UI
This commit is contained in:
parent
044060d1c0
commit
12c47476fc
3
TODO.md
3
TODO.md
|
@ -1,10 +1,9 @@
|
|||
# TODO
|
||||
|
||||
- theme changelog
|
||||
- update nio requirement
|
||||
- improve auto completion delegate
|
||||
|
||||
- refresh server list button
|
||||
- server list sorting method / explain what the % number is (stability)
|
||||
|
||||
- global presence control
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ HTile {
|
|||
displayName: model.display_name
|
||||
mxc: model.avatar_url
|
||||
compact: root.compact
|
||||
radius: theme.chat.userAutoCompletion.avatarsRadius
|
||||
|
||||
implicitHeight:
|
||||
compact ?
|
||||
|
@ -33,7 +34,7 @@ HTile {
|
|||
(model.display_name || model.id) + (
|
||||
model.display_name ?
|
||||
" ".repeat(2) + utils.htmlColorize(
|
||||
model.id, theme.chat.roomPane.listView.member.subtitle,
|
||||
model.id, theme.chat.userAutoCompletion.userIds,
|
||||
) :
|
||||
""
|
||||
)
|
||||
|
@ -41,7 +42,7 @@ HTile {
|
|||
color:
|
||||
root.colorName ?
|
||||
utils.nameColor(model.display_name || model.id.substring(1)) :
|
||||
theme.chat.roomPane.listView.member.name
|
||||
theme.chat.userAutoCompletion.displayNames
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ HListView {
|
|||
Rectangle {
|
||||
anchors.fill: parent
|
||||
z: -1
|
||||
color: theme.chat.typingMembers.background
|
||||
color: theme.chat.userAutoCompletion.background
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
|
|
@ -498,6 +498,12 @@ chat:
|
|||
fileTransfer:
|
||||
color background: chat.typingMembers.background
|
||||
|
||||
userAutoCompletion:
|
||||
color background: chat.typingMembers.background
|
||||
int avatarsRadius: controls.avatar.radius
|
||||
color displayNames: colors.text
|
||||
color userIds: colors.dimText
|
||||
|
||||
composer:
|
||||
color background: colors.strongBackground
|
||||
|
||||
|
|
|
@ -507,6 +507,12 @@ chat:
|
|||
fileTransfer:
|
||||
color background: chat.typingMembers.background
|
||||
|
||||
userAutoCompletion:
|
||||
color background: chat.typingMembers.background
|
||||
int avatarsRadius: controls.avatar.radius
|
||||
color displayNames: colors.text
|
||||
color userIds: colors.dimText
|
||||
|
||||
composer:
|
||||
color background: colors.strongBackground
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user