fix: provide correct content/implicit sizes
- fixes a regression from a recent StatusScrollView where the progress dialog contents would no longer be visible due to broken height calculation - do it so in a way that no longer produces binding loop warnings (should help with error items being truncated on first opening) Fixes: #8129
This commit is contained in:
parent
8097d640eb
commit
abd1672e90
|
@ -22,7 +22,11 @@ StatusScrollView {
|
|||
|
||||
signal close()
|
||||
|
||||
implicitWidth: childrenRect.width
|
||||
contentWidth: implicitWidth
|
||||
contentHeight: implicitHeight
|
||||
implicitWidth: column.childrenRect.width
|
||||
implicitHeight: column.childrenRect.height
|
||||
|
||||
padding: 0
|
||||
|
||||
enum ImportStatus {
|
||||
|
@ -252,7 +256,8 @@ StatusScrollView {
|
|||
}
|
||||
|
||||
ColumnLayout {
|
||||
width: parent.width
|
||||
id: column
|
||||
width: root.availableWidth
|
||||
spacing: 20
|
||||
|
||||
RowLayout {
|
||||
|
@ -263,7 +268,7 @@ StatusScrollView {
|
|||
Layout.preferredHeight: 24
|
||||
Layout.preferredWidth: 24
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
visible: root.store.discordImportHasCommunityImage && root.store.discordImportCommunityImage.toString() == ""
|
||||
visible: root.store.discordImportHasCommunityImage && root.store.discordImportCommunityImage.toString() === ""
|
||||
}
|
||||
StatusRoundedImage {
|
||||
Layout.preferredWidth: 36
|
||||
|
|
Loading…
Reference in New Issue