mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
update
This commit is contained in:
parent
9ff81251c8
commit
73cc5bccc8
@ -175,6 +175,9 @@ Rectangle {
|
|||||||
return w
|
return w
|
||||||
}
|
}
|
||||||
rowHeightProvider: function(row) {
|
rowHeightProvider: function(row) {
|
||||||
|
if(row>=table_model.rowCount){
|
||||||
|
return 0
|
||||||
|
}
|
||||||
var h = table_model.getRow(row).height
|
var h = table_model.getRow(row).height
|
||||||
if(row === item_loader.row){
|
if(row === item_loader.row){
|
||||||
item_loader.height = h
|
item_loader.height = h
|
||||||
@ -186,7 +189,7 @@ Rectangle {
|
|||||||
item_loader.y = table_view.contentY + cellPosition.y
|
item_loader.y = table_view.contentY + cellPosition.y
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return h
|
return 48
|
||||||
}
|
}
|
||||||
model: table_model
|
model: table_model
|
||||||
clip: true
|
clip: true
|
||||||
|
Loading…
Reference in New Issue
Block a user