bind width to listview width by default
This commit is contained in:
parent
b3db7ce371
commit
e4cc7da085
@ -46,6 +46,7 @@ Item {
|
|||||||
//in the case we are the highlight of a listview, it follows the mouse, so hover = true
|
//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 hover: ListView ? true : false
|
||||||
property bool pressed: false
|
property bool pressed: false
|
||||||
|
width: ListView ? ListView.view.width : undefined
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: highlight.ListView.view
|
target: highlight.ListView.view
|
||||||
|
Loading…
Reference in New Issue
Block a user