trollixx

PinchArea bug

Jan 9th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. import QtQuick 2.0
  2.  
  3. Item {
  4. id: root
  5.  
  6. PinchArea {
  7. anchors.fill: parent
  8. }
  9.  
  10. ListView {
  11. anchors.fill: parent
  12.  
  13. model: 20
  14.  
  15. delegate: Rectangle {
  16. border {
  17. color: "gray"
  18. width: 1
  19. }
  20. color: "yellow"
  21. height: 150; width: root.width
  22.  
  23. Text {
  24. anchors.centerIn: parent
  25. text: qsTr("Item") + modelData
  26. }
  27. }
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment