Fix/issue 10905 (#10930)

This commit is contained in:
Igor Sirotin 2023-06-06 09:57:00 +03:00 committed by GitHub
parent 2a253be291
commit f86608287c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 20 deletions

View File

@ -36,7 +36,7 @@ StatusSectionLayout {
property bool requirementsMet: true
property bool isJoinRequestRejected: false
property bool requiresRequest: false
property alias loginType: overlayPannel.loginType
property alias loginType: overlayPanel.loginType
property var communityHoldingsModel
property var viewOnlyHoldingsModel
@ -167,7 +167,7 @@ StatusSectionLayout {
// Blur background:
Item {
Layout.fillWidth: true
Layout.preferredHeight: Math.min(centralPanelData.implicitHeight, parent.height - overlayPannel.implicitHeight)
Layout.preferredHeight: Math.min(centralPanelData.implicitHeight, parent.height - overlayPanel.implicitHeight)
ColumnLayout {
id: centralPanelData
@ -249,8 +249,14 @@ StatusSectionLayout {
anchors.fill: parent
padding: 0
Item {
implicitHeight: Math.max(overlayPanel.implicitHeight, panelBase.height)
implicitWidth: Math.max(overlayPanel.implicitWidth, panelBase.width)
JoinPermissionsOverlayPanel {
id: overlayPannel
id: overlayPanel
anchors.centerIn: parent
topPadding: 2 * bottomPadding
joinCommunity: root.joinCommunity
@ -274,6 +280,7 @@ StatusSectionLayout {
}
}
}
}
showRightPanel: false
Component {

View File

@ -72,6 +72,7 @@ Control {
visible: root.bio
padding: 0
topPadding: Style.current.halfPadding
rightPadding: ScrollBar.vertical.visible ? 16 : 0
Layout.maximumHeight: 108