B2016-269: Ginna – notes on sub-steps were printing beyond the margin and off the page

This commit is contained in:
Kathy Ruffing 2017-01-10 14:36:34 +00:00
parent 4c4396e8c8
commit bfc321abbf

View File

@ -5554,11 +5554,11 @@ namespace Volian.Print.Library
else else
{ {
// B2016-269: if caution/note & not boxed, with tab adjust width based on xoffset of tab // B2016-269: if caution/note & not boxed, with tab adjust width based on xoffset of tab
// so text doesn't print out of right border. Commented out to check in another fix. Will be use // so text doesn't print out of right border.
//if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset) if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset)
// Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6; Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6;
//else else
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT; Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT;
} }
XOffset += mycolT; // adjust caution/note text position XOffset += mycolT; // adjust caution/note text position
if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position