Explorar o código

优化右边距

callm hai 3 semanas
pai
achega
693a9875f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      UAS_MES_ZKLH/FunctionCode/Query/Query_SOP.cs

+ 1 - 1
UAS_MES_ZKLH/FunctionCode/Query/Query_SOP.cs

@@ -142,7 +142,7 @@ namespace UAS_MES_NEW.Query
                             if (she.Shapes[s].LowerRightColumn > contentMaxCol)
                             if (she.Shapes[s].LowerRightColumn > contentMaxCol)
                                 contentMaxCol = she.Shapes[s].LowerRightColumn;
                                 contentMaxCol = she.Shapes[s].LowerRightColumn;
                         }
                         }
-                        int lastColIndex = contentMaxCol;   // 额外留3列边距
+                        int lastColIndex = contentMaxCol + 3;   // 额外留3列边距
                         string lastColLetter = CellsHelper.ColumnIndexToName(lastColIndex);
                         string lastColLetter = CellsHelper.ColumnIndexToName(lastColIndex);
                         const int headerRows = 3;
                         const int headerRows = 3;
                         int dataRowsPerPage = int.Parse(RowCount.Value.ToString());
                         int dataRowsPerPage = int.Parse(RowCount.Value.ToString());