The issue is propagating from the Metrics.buttonHeight calculation removing this fixes most of my issues
I'm able to see the scroll indicator hit the bottom of the flickableArea now, however I'm still having issues getting the indicator to resize appropriately based of the amount of data populated. With large data sets the indicator disappears cause it is so small. Hard coding a min value for the scroll indicator size is not the correct solution (weird things happen indicator goes past list view area). This is hard to explain but it seems like I need to reverse the calculations I'm performing, since this is based of a heightRatio and yPosition. Since I need to set a static size of the indicator when large amounts of data are loaded I then need to calculate the yPosition I believe based of static size of indicator
The buttonHeight metrics are computed based upon the display dot pitch and a minimum acceptable height for interactive elements. The minimum height is based on human factors.
Recommended button height: 9mm
Minimum button height: 7mm
property int listHeight: parent.height - Metrics.buttonHeight
border { color: '#44FFFFFF'; width: Metrics.ptToPxF(1.5) }
anchors.right: parent.right; width: Metrics.ptToPx(6)
height: Math.max(Metrics.buttonHeight, parent.visibleArea.heightRatio * listHeight)
y: parent.visibleArea.yPosition * listHeight
property int listHeight: parent.height - Metrics.buttonHeight
border { color: '#44FFFFFF'; width: Metrics.ptToPxF(1.5) }
anchors.right: parent.right; width: Metrics.ptToPx(6)
height: Math.max(Metrics.buttonHeight, parent.visibleArea.heightRatio * listHeight)
y: parent.visibleArea.yPosition * listHeight
To copy to clipboard, switch view to plain text mode
Bookmarks