diff --git a/widgets/DapScrollView.qml b/widgets/DapScrollView.qml index e40db0902f95132148c487bffc7d7216605f9acf..a8e63d8fef72719c22b35b25fff2b5d288d9870d 100644 --- a/widgets/DapScrollView.qml +++ b/widgets/DapScrollView.qml @@ -2,6 +2,9 @@ import QtQuick 2.4 DapScrollViewForm { + // All the logic (including state names and vars) was taken from master branch + + // Var for current pos while scrolling (in function updateY()) property var contentPos: 0.0 // Connect to new ListView if changed diff --git a/widgets/DapScrollViewForm.ui.qml b/widgets/DapScrollViewForm.ui.qml index 39facaa64b463572a53517856870e7beeb862e37..04d77c7fd604f2894908075c4355f2dee6f3b420 100644 --- a/widgets/DapScrollViewForm.ui.qml +++ b/widgets/DapScrollViewForm.ui.qml @@ -9,8 +9,10 @@ MouseArea property string scrollDownButtonHoveredImageSource property string scrollUpButtonImageSource property string scrollUpButtonHoveredImageSource - //ListView to attach the scroll button + + // ListView to attach the scroll button property ListView viewData + property alias scrollMouseArea: dapScrollMouseArea property alias scrollButton: dapScrollButton property alias scrollButtonImage: dapScrollButtonImage