2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-02-16 08:37:12 +00:00

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

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

@ -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