From e3ca589482a056449963e7bbbd77824ded3928bc Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 07 二月 2025 10:49:36 +0800 Subject: [PATCH] 过渡件匹配修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs index 2606e72..2005321 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs @@ -114,6 +114,7 @@ treeList1.OptionsSelection.EnableAppearanceFocusedCell = false; treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None; treeList1.OptionsView.RowImagesShowMode = DevExpress.XtraTreeList.RowImagesShowMode.InIndent; + treeList1.OptionsView.ShowIndentAsRowStyle = true; treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); treeList1.SelectImageList = imageCollection1; treeList1.Size = new Size(235, 586); @@ -126,7 +127,7 @@ // colName // colName.AppearanceCell.Options.UseTextOptions = true; - colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; colName.Caption = "鍚嶇О"; colName.FieldName = "Name"; colName.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colName.ImageOptions.SvgImage"); @@ -247,6 +248,7 @@ // imageCollection1.ImageStream = (DevExpress.Utils.ImageCollectionStreamer)resources.GetObject("imageCollection1.ImageStream"); imageCollection1.Images.SetKeyName(0, "NotImported.png"); + imageCollection1.Images.SetKeyName(1, "Imported.png"); // // searchControl1 // -- Gitblit v1.9.3