forked from Silverfish/proton-bridge
GODT-1384: Fix SettingsView scroll
This commit is contained in:
@ -22,7 +22,13 @@ import "."
|
|||||||
import "./Proton"
|
import "./Proton"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
property var target: parent
|
||||||
|
|
||||||
|
x: target.x
|
||||||
|
y: target.y
|
||||||
|
width: target.width
|
||||||
|
height: target.height
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.color: "red"
|
border.color: "red"
|
||||||
border.width: 1
|
border.width: 1
|
||||||
|
|||||||
@ -44,8 +44,8 @@ Item {
|
|||||||
width:root.width
|
width:root.width
|
||||||
height:root.height
|
height:root.height
|
||||||
|
|
||||||
contentWidth: content.width
|
contentWidth: content.width + content.anchors.leftMargin + content.anchors.rightMargin
|
||||||
contentHeight: content.height
|
contentHeight: content.height + content.anchors.topMargin + content.anchors.bottomMargin
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: content
|
id: content
|
||||||
|
|||||||
Reference in New Issue
Block a user