B2019-141: Set width for steps whose parent is TextWithTitleRight

This commit is contained in:
Kathy Ruffing 2019-10-02 16:12:57 +00:00
parent 003fac949c
commit fdb6949c6d

View File

@ -6386,6 +6386,10 @@ namespace Volian.Print.Library
{
Width = 72 * 7; // TODO: Need to determine the Width of the Table based upon the contents
}
else if (itemInfo.MyParent.FormatStepData != null && itemInfo.MyParent.FormatStepData.Type == "TitleWithTextRight") // B2019-141: Background steps width too small
{
Width = (float)itemInfo.MyDocStyle.Layout.PageWidth - XOffset;
}
else if (itemInfo.MyParent.IsCaution || itemInfo.MyParent.IsNote)
{
if (itemInfo.ActiveFormat.MyStepSectionLayoutData.DevNoteOrCautionTabOffset != null)