B2017-184: WINDOW tab for Calvert Alarm Procedures getting cut off in edit window in Default text size setting of windows display
This commit is contained in:
		@@ -178,9 +178,11 @@ namespace Volian.Controls.Library
 | 
			
		||||
						// 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.
 | 
			
		||||
						// B2017-184:  in the following if statement, added the SpecialCaseCalvertAlarm flag & 20002 so that, in the default text size setting of the windows display
 | 
			
		||||
						//	the last 'W' of 'WINDOW' tab (for the Device window step type, 20002) would not get cut off.
 | 
			
		||||
						if (MyItemInfo.FormatStepData == null || MyItemInfo.FormatStepData.TabData.IdentEdit.Contains("{Section Prefix}") || !MyItemInfo.IsHigh ||
 | 
			
		||||
							(MyItemInfo.IsHigh && MyItemInfo.FormatStepData.PageBreakOnStep))
 | 
			
		||||
						_MyStepRTB.Left = lblTab.Left + lblTab.Width;
 | 
			
		||||
							(MyItemInfo.IsHigh && MyItemInfo.FormatStepData.PageBreakOnStep) || (MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm && MyItemInfo.MyContent.Type == 20002))
 | 
			
		||||
							_MyStepRTB.Left = lblTab.Left + lblTab.Width;
 | 
			
		||||
						_MyStepRTB.Width = Width - _MyStepRTB.Left - RTBMargin - CheckOffMargin;
 | 
			
		||||
					}
 | 
			
		||||
					_TabFormat = value;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user