This commit is contained in:
@@ -1641,6 +1641,8 @@ namespace Volian.Controls.Library
|
||||
TablePicker tpdlg = new TablePicker();
|
||||
tpdlg.Location = pt;
|
||||
tpdlg.Left = left;
|
||||
tpdlg.MaxCols = 20;
|
||||
tpdlg.MaxRows = 30;
|
||||
DialogResult dr = tpdlg.ShowDialog();
|
||||
while (tpdlg.Visible)
|
||||
{
|
||||
@@ -1656,6 +1658,7 @@ namespace Volian.Controls.Library
|
||||
VE_Font vefont = MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList.Table.Font;
|
||||
Font GridFont = new Font(vefont.Family, (float)vefont.Size);
|
||||
grd.Font = GridFont;
|
||||
grd.FitTableToPageWidth((int)(MyItemInfo.MyDocStyle.Layout.PageWidth - MyItemInfo.MyDocStyle.Layout.LeftMargin));
|
||||
}
|
||||
return grd;
|
||||
}
|
||||
|
Reference in New Issue
Block a user