then i adding list to column there is an error:
QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.
ListView becomes colapsed into 0px line.
simlified layout:
Column {
anchors.fill: parent
Button {
id: topBtn
}
ListVeiw {
height: parent.height - topBtn.height - bottomBtn.height
}
Button {
id : bottomBtn
}
}
In Qt Widgets Listview expands height automaticaly.
ps. sory for my english ;)
↧