Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ScrollView {
- id: root
- property Item content: null
- Flickable {
- id: adhereFlickable
- height: root.contentHeight
- width: root.contentWidth
- contentHeight: root.contentHeight
- contentWidth: root.contentWidth
- boundsBehavior: Flickable.StopAtBounds
- }
- onContentChanged: {
- if(content) {
- content.parent = adhereFlickable
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement