GODT-1384: Fix SettingsView scroll

This commit is contained in:
Alexander Bilyak
2021-10-13 17:59:03 +02:00
committed by Jakub
parent 77e352a101
commit e1747357bc
2 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,13 @@ import "."
import "./Proton"
Rectangle {
anchors.fill: parent
property var target: parent
x: target.x
y: target.y
width: target.width
height: target.height
color: "transparent"
border.color: "red"
border.width: 1

View File

@ -44,8 +44,8 @@ Item {
width:root.width
height:root.height
contentWidth: content.width
contentHeight: content.height
contentWidth: content.width + content.anchors.leftMargin + content.anchors.rightMargin
contentHeight: content.height + content.anchors.topMargin + content.anchors.bottomMargin
ColumnLayout {
id: content