This commit is contained in:
朱子楚\zhuzi 2023-06-25 23:39:23 +08:00
parent 059a1b17cc
commit 6d0834c653

View File

@ -79,7 +79,11 @@ Rectangle {
if(!maximumWidth){
maximumWidth = 65535
}
return Math.min(Math.max(minimumWidth, w),maximumWidth)
w = Math.min(Math.max(minimumWidth, w),maximumWidth)
if(column === item_loader.column){
item_loader.width = w
}
return w
}
return implicitColumnWidth(column)
}else{
@ -98,7 +102,11 @@ Rectangle {
if(FluTools.qtMajor()>=6 && FluTools.qtMinor()>=5){
h = explicitRowHeight(row)
if (h >= 0){
return Math.max(40, h)
h = Math.max(40, h)
if(row === item_loader.row){
item_loader.height = h
}
return h
}
return implicitRowHeight(row)
}else{