Fixed background document pagination

adjusted sub-step text width when they have a tab (background documents)
This commit is contained in:
2014-11-04 21:14:16 +00:00
parent c46b4de7ab
commit 3daa13f4b6
2 changed files with 8 additions and 7 deletions

View File

@@ -4371,7 +4371,7 @@ namespace Volian.Print.Library
else if (MyParent.WidthNoLimit != 0)
Width = adjwidth + MyParent.WidthNoLimit - tabWidth + (myTab == null ? 0 : myTab.TabAlign);
else if ((itemInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListSpBckgrnd) == E_DocStructStyle.DSS_PageListSpBckgrnd)
Width = adjwidth + MyParent.Width;
Width = adjwidth + MyParent.Width - (MyTab!=null?MyTab.Width:0);
else
Width = adjwidth + MyParent.Width - tabWidth + (myTab == null ? 0 : myTab.TabAlign);
}