mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-01-23 04:14:35 +08:00
update
This commit is contained in:
parent
059a1b17cc
commit
6d0834c653
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user