Added a check for column mode before adjusting a sub-step note or caution text width
This commit is contained in:
parent
ea177b4b21
commit
4686cb0f6e
@ -5566,7 +5566,8 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
// B2016-269: if caution/note & not boxed, with tab adjust width based on xoffset of tab
|
// 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.
|
// so text doesn't print out of right border.
|
||||||
if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset)
|
// B2017-027: Added a check for column mode - we only want to do this if in single column mode
|
||||||
|
if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset && MyItemInfo.MyActiveSection.ColumnMode == 0)
|
||||||
Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6;
|
Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6;
|
||||||
else
|
else
|
||||||
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT;
|
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user