Bug Fix B2015-136, added logic to use the same font as the table we are inserting Before or After.
This commit is contained in:
		| @@ -986,6 +986,11 @@ namespace Volian.Controls.Library | ||||
| 			{ | ||||
| 				GridItem gi = this as GridItem; | ||||
| 				VlnFlexGrid fg = new VlnFlexGrid(gi.MyFlexGrid.Rows.Count, gi.MyFlexGrid.Cols.Count); | ||||
| 				// bug fix B2015136 | ||||
| 				// need to copy the font used in the table we are doing the Insert Previous/Next from. | ||||
| 				VE_Font vefont = MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList.Table.Font; | ||||
| 				Font GridFont = new Font(vefont.Family, (float)vefont.Size); | ||||
| 				fg.Font = GridFont; | ||||
| 				using (Item itm = newItemInfo.Get()) | ||||
| 				{ | ||||
| 					itm.MyContent.MyGrid.Data = fg.GetXMLData(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user