This commit is contained in:
		@@ -133,12 +133,11 @@ namespace Volian.Controls.Library
 | 
			
		||||
			bool ROsShouldBeAdjusted = wordsShouldBeReplaced; // same logical value
 | 
			
		||||
			if (epMode == E_EditPrintMode.Print && _MyItemInfo.IsStep)
 | 
			
		||||
			{
 | 
			
		||||
				// Add 3 spaces before if there is prefix so that wrapping in RTB accounts for vertical lines
 | 
			
		||||
				// (the three spaces after the first "\par " command).  Note that tried adding a single
 | 
			
		||||
				// space at beginning and a single space at end, this wasn't enough, and when added two
 | 
			
		||||
				// spaces at beginning and end, there was an extra line after hls text.
 | 
			
		||||
				// Add 2 spaces before and 1 after if there is prefix so that wrapping in RTB accounts for vertical 
 | 
			
		||||
				// lines (the 2 spaces after the first "\par " command and 1 space before 2nd "\par").  Tried other
 | 
			
		||||
				// combinations that did not work.
 | 
			
		||||
				if (_MyItemInfo.FormatStepData.Prefix != null && _MyItemInfo.FormatStepData.Prefix != "")
 | 
			
		||||
					text = ReplaceLinesWithUnicode(_MyItemInfo.FormatStepData.Prefix) + @"\par    " + text + @"\par ";
 | 
			
		||||
					text = ReplaceLinesWithUnicode(_MyItemInfo.FormatStepData.Prefix) + @"\par   " + text + @" \par ";
 | 
			
		||||
				if (_MyItemInfo.FormatStepData.Suffix != null && _MyItemInfo.FormatStepData.Suffix != "")
 | 
			
		||||
					text = text + ReplaceLinesWithUnicode(_MyItemInfo.FormatStepData.Suffix);
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user