diff --git a/SunnyUI/Common/UFile.cs b/SunnyUI/Common/UFile.cs index 729cd471..5b9d8d9c 100644 --- a/SunnyUI/Common/UFile.cs +++ b/SunnyUI/Common/UFile.cs @@ -43,7 +43,7 @@ namespace Sunny.UI /// /// /// - public static bool Copy(this string sourceFileName, string targetFileName, bool bFailIfExists = true) + public static bool Copy(string sourceFileName, string targetFileName, bool bFailIfExists = true) { if (File.Exists(sourceFileName)) { diff --git a/SunnyUI/Controls/UILabel.cs b/SunnyUI/Controls/UILabel.cs index 1dd6b575..c3378581 100644 --- a/SunnyUI/Controls/UILabel.cs +++ b/SunnyUI/Controls/UILabel.cs @@ -22,6 +22,7 @@ * 2020-11-12: V3.0.8 增加文字旋转角度 * 2022-03-19: V3.1.1 重构主题配色 * 2023-11-16: V3.5.2 重构主题 + * 2024-07-10: V3.6.7 文字位置默认TopLeft ******************************************************************************/ using System.ComponentModel; @@ -39,7 +40,6 @@ namespace Sunny.UI { base.Font = UIStyles.Font(); Version = UIGlobal.Version; - base.TextAlign = ContentAlignment.MiddleLeft; ForeColor = UIStyles.Blue.LabelForeColor; }