Hi,

in my QML Window I use a ScrollView to display some boxes. If the window is smaller than the content of the ScrollView I can't scrolling.


Qt Code:
  1. import QtQuick 2.12
  2. import QtQuick.Controls 2.12
  3. import GC 1.0
  4. import assets 1.0
  5. import components 1.0
  6.  
  7. Item {
  8. property Cache selectedCache
  9.  
  10. Rectangle {
  11. id: windowBox
  12. anchors.fill: parent
  13.  
  14. Image {
  15. width: parent.width
  16. height: parent.height
  17. source: Style.imageBackground
  18. }
  19.  
  20. ScrollView {
  21. id: scrollView
  22. anchors {
  23. left: parent.left
  24. right: parent.right
  25. top: parent.top //headerBox.bottom
  26. bottom: parent.bottom //commandBar.top
  27. margins: Style.sizeScreenMargin
  28. }
  29. clip: true
  30.  
  31. CacheBox {
  32. id: cacheBox
  33. cache: selectedCache
  34. headerText: "Cache"
  35. anchors.top: parent.top
  36. anchors.topMargin: 15
  37. anchors.left: parent.left
  38. anchors.right: parent.right
  39. }
  40.  
  41. TextBox_TinyMCE {
  42. id: noteBox
  43. textBoxContent: selectedCache.ui_note
  44. headerText: "Notes"
  45. anchors.top: cacheBox.bottom
  46. anchors.topMargin: 15
  47. anchors.left: parent.left
  48. anchors.right: parent.right
  49. }
  50.  
  51. AttributeBox {
  52. id: attributeBox
  53. cache: selectedCache
  54. headerText: "Attribute"
  55. anchors.top: noteBox.bottom
  56. anchors.topMargin: 15
  57. anchors.left: parent.left
  58. anchors.right: parent.right
  59. }
  60. }
  61. }
  62. }
To copy to clipboard, switch view to plain text mode 



I can't find any solution in google, so can you help me with my problem?
Thank you for your help.
BR
martin