Theme color for eventList highlight
This commit is contained in:
parent
af6cdc9013
commit
c03bf32a7b
1
TODO.md
1
TODO.md
|
@ -1,6 +1,5 @@
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
- focus color
|
|
||||||
- Long-press-drag to select multiple messages on touch
|
- Long-press-drag to select multiple messages on touch
|
||||||
- Drag to select multiple messages on non-touch
|
- Drag to select multiple messages on non-touch
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,11 @@ Rectangle {
|
||||||
model: ModelStore.get(chat.userId, chat.roomId, "events")
|
model: ModelStore.get(chat.userId, chat.roomId, "events")
|
||||||
delegate: EventDelegate {}
|
delegate: EventDelegate {}
|
||||||
|
|
||||||
|
highlight: Rectangle {
|
||||||
|
color: theme.chat.message.focusedHighlight
|
||||||
|
opacity: theme.chat.message.focusedHighlightOpacity
|
||||||
|
}
|
||||||
|
|
||||||
// Since the list is BottomToTop, this is actually a header
|
// Since the list is BottomToTop, this is actually a header
|
||||||
footer: Item {
|
footer: Item {
|
||||||
width: eventList.width
|
width: eventList.width
|
||||||
|
|
|
@ -343,6 +343,9 @@ chat:
|
||||||
int horizontalSpacing: theme.spacing / 1.25
|
int horizontalSpacing: theme.spacing / 1.25
|
||||||
int verticalSpacing: theme.spacing / 1.75
|
int verticalSpacing: theme.spacing / 1.75
|
||||||
|
|
||||||
|
color focusedHighlight: colors.accentBackground
|
||||||
|
real focusedHighlightOpacity: 0.4
|
||||||
|
|
||||||
color background: colors.mediumBackground
|
color background: colors.mediumBackground
|
||||||
color ownBackground: colors.strongBackground
|
color ownBackground: colors.strongBackground
|
||||||
color checkedBackground: colors.accentBackground
|
color checkedBackground: colors.accentBackground
|
||||||
|
|
|
@ -356,6 +356,9 @@ chat:
|
||||||
int horizontalSpacing: theme.spacing / 1.25
|
int horizontalSpacing: theme.spacing / 1.25
|
||||||
int verticalSpacing: theme.spacing / 1.75
|
int verticalSpacing: theme.spacing / 1.75
|
||||||
|
|
||||||
|
color focusedHighlight: colors.accentBackground
|
||||||
|
real focusedHighlightOpacity: 0.4
|
||||||
|
|
||||||
color background: colors.weakBackground
|
color background: colors.weakBackground
|
||||||
color ownBackground: colors.mediumBackground
|
color ownBackground: colors.mediumBackground
|
||||||
color checkedBackground: colors.accentBackground
|
color checkedBackground: colors.accentBackground
|
||||||
|
|
Loading…
Reference in New Issue
Block a user