Fix for partially hidden ‘EOP Step #:‘ tab in edit window for background steps
This commit is contained in:
parent
03f127279f
commit
9910cff2c5
@ -167,7 +167,11 @@ namespace Volian.Controls.Library
|
||||
Invalidate();
|
||||
if (MyItemInfo.MyTab.Offset == 0)
|
||||
{
|
||||
if (MyItemInfo.FormatStepData == null || MyItemInfo.FormatStepData.TabData.IdentEdit.Contains("{Section Prefix}") || !MyItemInfo.IsHigh)
|
||||
// In the following if statement, the last part, 'IsHigh & PageBreakOnStep' (PageBreakOnStep
|
||||
// flags background steps and IsHigh is for the HLS - Cautions/Notes were ok), was added
|
||||
// for hls in background documents - without this, the tab gets overwritten by the rtb.
|
||||
if (MyItemInfo.FormatStepData == null || MyItemInfo.FormatStepData.TabData.IdentEdit.Contains("{Section Prefix}") || !MyItemInfo.IsHigh ||
|
||||
(MyItemInfo.IsHigh && MyItemInfo.FormatStepData.PageBreakOnStep))
|
||||
_MyStepRTB.Left = lblTab.Left + lblTab.Width;
|
||||
_MyStepRTB.Width = Width - _MyStepRTB.Left - RTBMargin - CheckOffMargin;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user