Show user ID as member tile subtitle

Also move member styling in theme to the right place
This commit is contained in:
miruka 2019-08-22 05:42:48 -04:00
parent 6b64800ed7
commit 3082c64666
3 changed files with 10 additions and 8 deletions

View File

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

View File

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

View File

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