fix(desktop/statusQ) Updated StatusQ HEAD
Also updated all StatusModals to use contentItem instead of content
This commit is contained in:
parent
c33c7ce45a
commit
8d32c1d933
|
@ -1 +1 @@
|
||||||
Subproject commit b45aba4be88fbdd4adf901b90dbe07c93c98aaea
|
Subproject commit 4a6800ed77c272cec02abcd8734dc28c23831e42
|
|
@ -40,7 +40,7 @@ StatusModal {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
content: Column {
|
contentItem: Column {
|
||||||
width: popup.width
|
width: popup.width
|
||||||
property alias searchBox: searchBox
|
property alias searchBox: searchBox
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ StatusModal {
|
||||||
return subTitle
|
return subTitle
|
||||||
}
|
}
|
||||||
|
|
||||||
content: Column {
|
contentItem: Column {
|
||||||
width: popup.width
|
width: popup.width
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
|
@ -24,7 +24,7 @@ StatusModal {
|
||||||
header.icon.isLetterIdenticon: contentComponent.currentItem.headerTitle == popup.community.name && !contentComponent.currentItem.headerImageSource
|
header.icon.isLetterIdenticon: contentComponent.currentItem.headerTitle == popup.community.name && !contentComponent.currentItem.headerImageSource
|
||||||
header.icon.background.color: popup.community.communityColor
|
header.icon.background.color: popup.community.communityColor
|
||||||
|
|
||||||
content: StackView {
|
contentItem: StackView {
|
||||||
id: stack
|
id: stack
|
||||||
initialItem: profileOverview
|
initialItem: profileOverview
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
|
@ -44,7 +44,7 @@ StatusModal {
|
||||||
//% "New category"
|
//% "New category"
|
||||||
qsTrId("new-category")
|
qsTrId("new-category")
|
||||||
|
|
||||||
content: Column {
|
contentItem: Column {
|
||||||
|
|
||||||
width: popup.width
|
width: popup.width
|
||||||
property alias categoryName: nameInput
|
property alias categoryName: nameInput
|
||||||
|
|
|
@ -45,7 +45,7 @@ StatusModal {
|
||||||
contentComponent.channelDescription.valid
|
contentComponent.channelDescription.valid
|
||||||
}
|
}
|
||||||
|
|
||||||
content: ScrollView {
|
contentItem: ScrollView {
|
||||||
|
|
||||||
id: scrollView
|
id: scrollView
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ StatusModal {
|
||||||
//% "New community"
|
//% "New community"
|
||||||
qsTrId("new-community")
|
qsTrId("new-community")
|
||||||
|
|
||||||
content: ScrollView {
|
contentItem: ScrollView {
|
||||||
|
|
||||||
id: scrollView
|
id: scrollView
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ StatusModal {
|
||||||
//% "Invite friends"
|
//% "Invite friends"
|
||||||
header.title: qsTrId("invite-friends")
|
header.title: qsTrId("invite-friends")
|
||||||
|
|
||||||
content: CommunityProfilePopupInviteFriendsView {
|
contentItem: CommunityProfilePopupInviteFriendsView {
|
||||||
id: contactFieldAndList
|
id: contactFieldAndList
|
||||||
contactListSearch.onUserClicked: {
|
contactListSearch.onUserClicked: {
|
||||||
if (isContact) {
|
if (isContact) {
|
||||||
|
|
|
@ -21,7 +21,7 @@ StatusModal {
|
||||||
header.title: qsTrId("membership-requests")
|
header.title: qsTrId("membership-requests")
|
||||||
header.subTitle: contentComponent.membershipRequestList.count
|
header.subTitle: contentComponent.membershipRequestList.count
|
||||||
|
|
||||||
content: Column {
|
contentItem: Column {
|
||||||
property alias errorText: errorText
|
property alias errorText: errorText
|
||||||
property alias membershipRequestList: membershipRequestList
|
property alias membershipRequestList: membershipRequestList
|
||||||
width: popup.width
|
width: popup.width
|
||||||
|
|
|
@ -21,7 +21,7 @@ StatusModal {
|
||||||
id: membershipRequirementGroup
|
id: membershipRequirementGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
content: Column {
|
contentItem: Column {
|
||||||
width: popup.width
|
width: popup.width
|
||||||
spacing: 8
|
spacing: 8
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ StatusModal {
|
||||||
popup.destroy();
|
popup.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
content: Item {
|
contentItem: Item {
|
||||||
width: popup.width
|
width: popup.width
|
||||||
height: Math.max(300, content.height + 32)
|
height: Math.max(300, content.height + 32)
|
||||||
Column {
|
Column {
|
||||||
|
|
|
@ -70,7 +70,7 @@ StatusModal {
|
||||||
onClicked: contentComponent.qrCodePopup.open()
|
onClicked: contentComponent.qrCodePopup.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
content: Item {
|
contentItem: Item {
|
||||||
width: popup.width
|
width: popup.width
|
||||||
height: modalContent.height
|
height: modalContent.height
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue