Show user ID as member tile subtitle
Also move member styling in theme to the right place
This commit is contained in:
parent
6b64800ed7
commit
3082c64666
2
TODO.md
2
TODO.md
|
@ -63,8 +63,6 @@
|
||||||
- Adapt shortcuts flicking speed to font size and DPI
|
- Adapt shortcuts flicking speed to font size and DPI
|
||||||
|
|
||||||
- EditAccount page:
|
- EditAccount page:
|
||||||
- Remove account from client
|
|
||||||
- state: Set UI state page to Default.qml when account is removed
|
|
||||||
- Device settings
|
- Device settings
|
||||||
- Multiaccount aliases:
|
- Multiaccount aliases:
|
||||||
- Warn when conflict with another alias
|
- Warn when conflict with another alias
|
||||||
|
|
|
@ -5,7 +5,7 @@ HTileDelegate {
|
||||||
id: memberDelegate
|
id: memberDelegate
|
||||||
spacing: roomSidePane.currentSpacing
|
spacing: roomSidePane.currentSpacing
|
||||||
rightPadding: 0
|
rightPadding: 0
|
||||||
backgroundColor: theme.sidePane.member.background
|
backgroundColor: theme.chat.roomSidePane.member.background
|
||||||
|
|
||||||
image: HUserAvatar {
|
image: HUserAvatar {
|
||||||
userId: model.user_id
|
userId: model.user_id
|
||||||
|
@ -13,6 +13,9 @@ HTileDelegate {
|
||||||
avatarUrl: model.avatar_url
|
avatarUrl: model.avatar_url
|
||||||
}
|
}
|
||||||
|
|
||||||
title.color: theme.sidePane.member.name
|
|
||||||
title.text: model.display_name || model.user_id
|
title.text: model.display_name || model.user_id
|
||||||
|
title.color: theme.chat.roomSidePane.member.name
|
||||||
|
|
||||||
|
subtitle.text: model.user_id
|
||||||
|
subtitle.color: theme.chat.roomSidePane.member.subtitle
|
||||||
}
|
}
|
||||||
|
|
|
@ -188,10 +188,6 @@ sidePane:
|
||||||
color subtitle: colors.dimText
|
color subtitle: colors.dimText
|
||||||
color lastEventDate: colors.halfDimText
|
color lastEventDate: colors.halfDimText
|
||||||
|
|
||||||
member:
|
|
||||||
color background: "transparent"
|
|
||||||
color name: colors.text
|
|
||||||
|
|
||||||
settingsButton:
|
settingsButton:
|
||||||
color background: colors.inputBackground
|
color background: colors.inputBackground
|
||||||
|
|
||||||
|
@ -208,6 +204,11 @@ chat:
|
||||||
roomSidePane:
|
roomSidePane:
|
||||||
color background: colors.mediumBackground
|
color background: colors.mediumBackground
|
||||||
|
|
||||||
|
member:
|
||||||
|
color background: "transparent"
|
||||||
|
color name: colors.text
|
||||||
|
color subtitle: colors.dimText
|
||||||
|
|
||||||
eventList:
|
eventList:
|
||||||
int ownEventsOnRightUnderWidth: 768
|
int ownEventsOnRightUnderWidth: 768
|
||||||
color background: "transparent"
|
color background: "transparent"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user