fix(CommunityColumnView): fix tooltip orientation and plural
This commit is contained in:
parent
c800cbec44
commit
010877e9b3
|
@ -55,9 +55,7 @@ Item {
|
||||||
id: communityHeader
|
id: communityHeader
|
||||||
objectName: "communityHeaderButton"
|
objectName: "communityHeaderButton"
|
||||||
title: communityData.name
|
title: communityData.name
|
||||||
subTitle: communityData.members.count <= 1 ?
|
subTitle: qsTr("%n Member(s)", "", communityData.members.count)
|
||||||
qsTr("1 Member") :
|
|
||||||
qsTr("%1 Members").arg(communityData.members.count)
|
|
||||||
asset.name: communityData.image
|
asset.name: communityData.image
|
||||||
asset.color: communityData.color
|
asset.color: communityData.color
|
||||||
asset.isImage: true
|
asset.isImage: true
|
||||||
|
@ -91,6 +89,8 @@ Item {
|
||||||
StatusToolTip {
|
StatusToolTip {
|
||||||
text: qsTr("Start chat")
|
text: qsTr("Start chat")
|
||||||
visible: parent.hovered
|
visible: parent.hovered
|
||||||
|
orientation: StatusToolTip.Orientation.Bottom
|
||||||
|
y: parent.height + 12
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue