mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-14 08:36:39 +00:00
parent
5300dcac28
commit
131685ecf5
@ -119,7 +119,7 @@ QtObject:
|
|||||||
QtProperty[bool] isMember:
|
QtProperty[bool] isMember:
|
||||||
read = isMember
|
read = isMember
|
||||||
|
|
||||||
proc nbMembers*(self: CommunityItemView): int {.slot.} = result = ?.self.communityItem.members.len
|
proc nbMembers*(self: CommunityItemView): int {.slot.} = result = ?.self.members.members.len
|
||||||
|
|
||||||
QtProperty[int] nbMembers:
|
QtProperty[int] nbMembers:
|
||||||
read = nbMembers
|
read = nbMembers
|
||||||
|
@ -35,12 +35,16 @@ ModalPopup {
|
|||||||
anchors.top: groupName.bottom
|
anchors.top: groupName.bottom
|
||||||
anchors.topMargin: 2
|
anchors.topMargin: 2
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
color: Style.current.darkGrey
|
color: Style.current.secondaryText
|
||||||
}
|
}
|
||||||
|
|
||||||
Separator {
|
Separator {
|
||||||
anchors.top: nbMembersText.bottom
|
anchors.top: nbMembersText.bottom
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: -Style.current.padding
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: -Style.current.padding
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,7 +52,7 @@ ModalPopup {
|
|||||||
id: inviteBtn
|
id: inviteBtn
|
||||||
//% "Invite People"
|
//% "Invite People"
|
||||||
label: qsTrId("invite-people")
|
label: qsTrId("invite-people")
|
||||||
width: popup.width
|
width: parent.width
|
||||||
iconName: "invite"
|
iconName: "invite"
|
||||||
onClicked: openPopup(inviteFriendsPopup)
|
onClicked: openPopup(inviteFriendsPopup)
|
||||||
Component {
|
Component {
|
||||||
@ -92,12 +96,11 @@ ModalPopup {
|
|||||||
anchors.rightMargin: -Style.current.padding
|
anchors.rightMargin: -Style.current.padding
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: memberList
|
id: memberList
|
||||||
anchors.top: sep2.visible ? sep2.bottom : sep.bottom
|
anchors.top: sep2.visible ? sep2.bottom : sep.bottom
|
||||||
anchors.topMargin: Style.current.smallPadding
|
anchors.topMargin: Style.current.smallPadding
|
||||||
anchors.bottom: popup.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottomMargin: Style.current.halfPadding
|
anchors.bottomMargin: Style.current.halfPadding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user