feat(StatusListView): Add availableWidth/availableHeight to api (#801)
This commit is contained in:
parent
c0c240ed6a
commit
694010da38
@ -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