با سلام.
چطور می تونم در کد زیر با اسکرول کردن در محدوده ی text area وقتی متن به انتها رسید خود صفحه اسکرول بشه؟
Page {
id: page
Flickable {
id: flickable
anchors.fill: parent
anchors.margins: 5
boundsBehavior: Flickable.OvershootBounds
contentHeight: contentItem.childrenRect.height + 10
Rectangle {
id: rect
width: 300
height: 200
color: "#00000000"
border.width: 1
border.color: 'grey'
radius: 5
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 10
}
Flickable {
flickableDirection: Flickable.VerticalFlick
anchors.fill: rect
anchors.leftMargin: 5
anchors.rightMargin: 5
TextArea.flickable: TextArea {
id: textarea
horizontalAlignment: Text.AlignLeft
wrapMode: TextEdit.WordWrap
}
}
}
}