bind width to listview width by default

This commit is contained in:
Marco Martin 2012-10-23 22:49:21 +02:00
parent b3db7ce371
commit e4cc7da085

View File

@ -46,6 +46,7 @@ Item {
//in the case we are the highlight of a listview, it follows the mouse, so hover = true
property bool hover: ListView ? true : false
property bool pressed: false
width: ListView ? ListView.view.width : undefined
Connections {
target: highlight.ListView.view