This commit is contained in:
朱子楚\zhuzi 2023-07-01 11:37:08 +08:00
parent 9ff81251c8
commit 73cc5bccc8

View File

@ -175,6 +175,9 @@ Rectangle {
return w
}
rowHeightProvider: function(row) {
if(row>=table_model.rowCount){
return 0
}
var h = table_model.getRow(row).height
if(row === item_loader.row){
item_loader.height = h
@ -186,7 +189,7 @@ Rectangle {
item_loader.y = table_view.contentY + cellPosition.y
}
}
return h
return 48
}
model: table_model
clip: true