B2016-269: Ginna – notes on sub-steps were printing beyond the margin and off the page
This commit is contained in:
parent
4c4396e8c8
commit
bfc321abbf
@ -5554,11 +5554,11 @@ namespace Volian.Print.Library
|
||||
else
|
||||
{
|
||||
// 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
|
||||
//if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset)
|
||||
// Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6;
|
||||
//else
|
||||
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT;
|
||||
// so text doesn't print out of right border.
|
||||
if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset)
|
||||
Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6;
|
||||
else
|
||||
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT;
|
||||
}
|
||||
XOffset += mycolT; // adjust caution/note text position
|
||||
if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position
|
||||
|
Loading…
x
Reference in New Issue
Block a user