Browse Source

1.修复多眼导航显示异常的问题

tags/0.0.4+4
“yanghuaxuan” 3 years ago
parent
commit
e74e71c220
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/widgets/custom/multi_nav/custom_quick_entry.dart

+ 2
- 1
lib/widgets/custom/multi_nav/custom_quick_entry.dart View File

@@ -93,12 +93,13 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer>
//计算实际显示行数 //计算实际显示行数
if(totalRowSize*columSize>totalDataSize){ if(totalRowSize*columSize>totalDataSize){
for(int index=1;index<=totalRowSize;index++){ for(int index=1;index<=totalRowSize;index++){
if(index*columSize>=totalRowSize){
if(index*columSize>=totalDataSize){
totalRowSize=index; totalRowSize=index;
break; break;
} }
} }
} }
print("行数"+totalRowSize.toString());


// 图标的高度 // 图标的高度
double iconHeight = 40.0; double iconHeight = 40.0;


Loading…
Cancel
Save