Browse Source

优化右边距

callm 3 weeks ago
parent
commit
693a9875f1
1 changed files with 1 additions and 1 deletions
  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)
                                 contentMaxCol = she.Shapes[s].LowerRightColumn;
                         }
-                        int lastColIndex = contentMaxCol;   // 额外留3列边距
+                        int lastColIndex = contentMaxCol + 3;   // 额外留3列边距
                         string lastColLetter = CellsHelper.ColumnIndexToName(lastColIndex);
                         const int headerRows = 3;
                         int dataRowsPerPage = int.Parse(RowCount.Value.ToString());