From fdb6949c6d7e41dc061282424c65fd888da9f77f Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 2 Oct 2019 16:12:57 +0000 Subject: [PATCH] B2019-141: Set width for steps whose parent is TextWithTitleRight --- PROMS/Volian.Print.Library/vlnParagraph.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 4ea69066..328490a8 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -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)