Corrected the starting location of the step edit window for steps 1-9 so that they start at the same location as step 10 and greater

Fixed the positioning of the Fixed Change Bar to use the format default font rather than the current step / substep font, to ensure consistency.
This commit is contained in:
John Jenko 2015-01-07 17:41:57 +00:00
parent a2586a851f
commit 99cbb788f2
2 changed files with 3 additions and 1 deletions

View File

@ -167,7 +167,8 @@ namespace Volian.Controls.Library
Invalidate();
if (MyItemInfo.MyTab.Offset == 0)
{
_MyStepRTB.Left = lblTab.Left + lblTab.Width;
if (MyItemInfo.FormatStepData == null || MyItemInfo.FormatStepData.TabData.IdentEdit.Contains("{Section Prefix}"))
_MyStepRTB.Left = lblTab.Left + lblTab.Width;
_MyStepRTB.Width = Width - _MyStepRTB.Left - RTBMargin - CheckOffMargin;
}
_TabFormat = value;

View File

@ -3525,6 +3525,7 @@ namespace Volian.Print.Library
(myPageHelper.ChangeBarDefinition.MyChangeBarLoc == PrintChangeBarLoc.AERleftRNOright &&
!itemInfo.IsInRNO)) msgAlign = Element.ALIGN_RIGHT;
float coltotwips = col * itemInfo.FormatStepData.Font.CharsToTwips;
if (cbd.AbsoluteFixedChangeColumn) coltotwips = col * itemInfo.ActiveFormat.PlantFormat.FormatData.Font.CharsToTwips;
if (itemInfo.IsFigure) coltotwips = col * itemInfo.ActiveFormat.PlantFormat.FormatData.Font.CharsToTwips;
return new vlnChangeBar(cb, this, (float)itemInfo.MyDocStyle.Layout.LeftMargin + coltotwips, yoff, msgAlign,
myPageHelper.ChangeBarDefinition.MyChangeBarText == PrintChangeBarText.RevNum,