This commit is contained in:
2011-04-29 15:34:16 +00:00
parent ffd710139f
commit ec3ae2b100
3 changed files with 55 additions and 0 deletions

View File

@@ -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;
}