@@ -211,6 +211,11 @@ void CZhengcanPageUI::UpdateTabletypePos()
//根据宽度计算每行显示的数量
int nMeihangNum = (nWidth - 20) / 135;
+ if (nMeihangNum < 1)
+ {
+ nMeihangNum = 1;
+ }
+
int num = 0;
CHorizontalLayoutUI* pFenleiLayout = static_cast<CHorizontalLayoutUI*>(this->FindSubControl(_T("zhengcan_zhuozi_type_layout")));