SVN-Revision: r807
This commit is contained in:
wyf
2025-06-27 09:40:11 +00:00
parent d0bf2c89e3
commit 0da4640550
+3 -2
View File
@@ -1418,13 +1418,11 @@ namespace Lskj.Control
gridColumn.OptionsFilter.FilterPopupMode = FilterPopupMode.CheckedList; gridColumn.OptionsFilter.FilterPopupMode = FilterPopupMode.CheckedList;
gridColumn.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; gridColumn.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
if (!string.IsNullOrEmpty(model.AutoPadDataReleColName)) if (!string.IsNullOrEmpty(model.AutoPadDataReleColName))
{ {
AutoPadDataReleColList.Add(model); AutoPadDataReleColList.Add(model);
} }
// 设置列格式化、汇总 // 设置列格式化、汇总
this.SetColumnFormat(gridColumn, model); this.SetColumnFormat(gridColumn, model);
this.SetColumnSumming(gridColumn, model); this.SetColumnSumming(gridColumn, model);
@@ -1652,7 +1650,10 @@ namespace Lskj.Control
protected void SetGridRowHeightAndFont() protected void SetGridRowHeightAndFont()
{ {
if (SystemInfo.Instance.GridRowFontSize > 0) if (SystemInfo.Instance.GridRowFontSize > 0)
{
this.gcMain.Appearance.Row.Font = new Font("微软雅黑", SystemInfo.Instance.GridRowFontSize); this.gcMain.Appearance.Row.Font = new Font("微软雅黑", SystemInfo.Instance.GridRowFontSize);
this.gcMain.Appearance.HeaderPanel.Font = new Font("微软雅黑", SystemInfo.Instance.GridRowFontSize);
}
if (SystemInfo.Instance.GridRowHeight > 0) if (SystemInfo.Instance.GridRowHeight > 0)
{ {
this.gcMain.ColumnPanelRowHeight = this.gcMain.RowHeight = SystemInfo.Instance.GridRowHeight; this.gcMain.ColumnPanelRowHeight = this.gcMain.RowHeight = SystemInfo.Instance.GridRowHeight;