mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-29 07:47:28 +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 {
|
||||
id: root
|
||||
|
||||
readonly property int availableWidth: width - leftMargin - rightMargin
|
||||
readonly property int availableHeight: height - topMargin - bottomMargin
|
||||
|
||||
clip: true
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
maximumFlickVelocity: 2000
|
||||
|
Loading…
x
Reference in New Issue
Block a user