Alignment and positioning of pagelist items, fixed line spacing of some text elements

Added a null check
logic to keep the text widths consistent for enhanced background Caution/Note steps
This commit is contained in:
2014-11-04 17:16:46 +00:00
parent 1129cb3431
commit c46b4de7ab
3 changed files with 3 additions and 1 deletions

View File

@@ -4370,6 +4370,8 @@ namespace Volian.Print.Library
Width = adjwidth + MyParent.Width;
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;
else
Width = adjwidth + MyParent.Width - tabWidth + (myTab == null ? 0 : myTab.TabAlign);
}