feat(StatusListView): Add availableWidth/availableHeight to api (#801)

This commit is contained in:
Mikhail Rogachev 2022-07-26 12:30:31 +03:00 committed by Michał Cieślak
parent af59155150
commit b613b98ffa

View File

@ -31,6 +31,9 @@ import StatusQ.Controls 0.1
ListView {
id: root
readonly property int availableWidth: width - leftMargin - rightMargin
readonly property int availableHeight: height - topMargin - bottomMargin
clip: true
boundsBehavior: Flickable.StopAtBounds
maximumFlickVelocity: 2000