mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-06 19:53:36 +00:00
feat(StatusListView): Add availableWidth/availableHeight to api (#801)
This commit is contained in:
parent
af59155150
commit
b613b98ffa
@ -31,6 +31,9 @@ import StatusQ.Controls 0.1
|
|||||||
ListView {
|
ListView {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
readonly property int availableWidth: width - leftMargin - rightMargin
|
||||||
|
readonly property int availableHeight: height - topMargin - bottomMargin
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
boundsBehavior: Flickable.StopAtBounds
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
maximumFlickVelocity: 2000
|
maximumFlickVelocity: 2000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user