Add account settings page

Display name change working
This commit is contained in:
miruka
2019-07-13 20:15:20 -04:00
parent eeea0af4cd
commit 751a27157c
27 changed files with 435 additions and 162 deletions

View File

@@ -13,9 +13,10 @@ Row {
HUserAvatar {
id: avatar
hidden: combine
userId: model.senderId
dimension: model.showNameLine ? 48 : 28
width: model.showNameLine ? 48 : 28
height: combine ? 1 : model.showNameLine ? 48 : 28
opacity: combine ? 0 : 1
visible: ! isOwn
}
@@ -26,7 +27,7 @@ Row {
//width: nameLabel.implicitWidth
width: Math.min(
roomEventListView.width - avatar.width - messageContent.spacing,
eventList.width - avatar.width - messageContent.spacing,
theme.fontSize.normal * 0.5 * 75, // 600 with 16px font
Math.max(
nameLabel.visible ? nameLabel.implicitWidth : 0,