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

View File

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