Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 0.43 KB | None | 0 0
  1. ScrollView {
  2.     id: root
  3.     Flickable {
  4.         id: adhereFlickable
  5.         height: root.contentHeight
  6.         width: root.contentWidth
  7.         contentHeight: root.contentHeight
  8.         contentWidth: root.contentWidth
  9.         boundsBehavior: Flickable.StopAtBounds
  10.     }
  11.     onChildrenChanged: {
  12.         print("fuck")
  13.         if (children.length > 1)
  14.             children[children.length - 1].parent = adhereFlickable
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement