mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
GODT-1384: Fix SettingsView scroll
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user