Testing upload file && minor UI tweaks.

This commit is contained in:
Black Hat
2018-07-15 16:02:26 +08:00
parent 965dbeff83
commit 4ef063ea82
5 changed files with 24 additions and 22 deletions

View File

@@ -146,7 +146,6 @@ Item {
source: avatar ? "image://mxc/" + avatar : ""
displayText: name
opaqueBackground: true
}
ColumnLayout {
@@ -160,15 +159,7 @@ Item {
Layout.fillWidth: true
Layout.fillHeight: true
text: {
if (name) {
return name;
}
if (alias) {
return alias;
}
return id
}
text: name ? name : alias ? alias : id
font.pointSize: 16
elide: Text.ElideRight
wrapMode: Text.NoWrap