B2023-025: AER Ro table displays too far to left
This commit is contained in:
		| @@ -2185,6 +2185,9 @@ namespace Volian.Controls.Library | |||||||
| 			// B2017-043 account for Horizontal Scroll | 			// B2017-043 account for Horizontal Scroll | ||||||
| 			int colT = MyStepPanel.DisplayRectangle.X + MyStepPanel.ToDisplay((int)myStepSectionLayoutData.ColT); | 			int colT = MyStepPanel.DisplayRectangle.X + MyStepPanel.ToDisplay((int)myStepSectionLayoutData.ColT); | ||||||
| 			if (x < colT) x = colT; | 			if (x < colT) x = colT; | ||||||
|  | 			// B2023-025: if x is <= 0, add 20 to it so that left column of table isn't cut-off. 20 was used because lesser numbers | ||||||
|  | 			//	still cut-off the left column (by trial and error). | ||||||
|  | 			if (x <= 0) x = 20; | ||||||
| 			int y = FindTop(myParentEditItem.Bottom); | 			int y = FindTop(myParentEditItem.Bottom); | ||||||
| 			return new Point(x, y); | 			return new Point(x, y); | ||||||
| 		} | 		} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user