Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
朱子楚\zhuzi committed Jul 1, 2023
1 parent 9ff8125 commit 73cc5bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/imports/FluentUI/Controls/FluTableView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -186,7 +189,7 @@ Rectangle {
item_loader.y = table_view.contentY + cellPosition.y
}
}
return h
return 48
}
model: table_model
clip: true
Expand Down

0 comments on commit 73cc5bc

Please sign in to comment.