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