fix(ShareProfileDialog): contents spills outside of dialog

- make the contents scrollable using a `StatusScrollView`

Fixes #13967
This commit is contained in:
Lukáš Tinkl 2024-03-17 11:35:48 +01:00 committed by Lukáš Tinkl
parent 1b77695e01
commit 864be0ad37
1 changed files with 95 additions and 86 deletions

View File

@ -28,9 +28,17 @@ StatusDialog {
topPadding: Style.current.padding
bottomPadding: Style.current.xlPadding
horizontalPadding: 80
horizontalPadding: 0
contentItem: ColumnLayout {
StatusScrollView {
anchors.fill: parent
contentWidth: availableWidth
ColumnLayout {
anchors.left: parent.left
anchors.leftMargin: 40
anchors.right: parent.right
anchors.rightMargin: 40
spacing: Style.current.halfPadding
Rectangle {
@ -133,3 +141,4 @@ StatusDialog {
}
}
}
}