* UILabel: 文字位置默认TopLeft

This commit is contained in:
Sunny 2024-07-10 11:07:00 +08:00
parent 3333fe2aba
commit 1e03aed0a7
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ namespace Sunny.UI
/// <param name="targetFileName"></param> /// <param name="targetFileName"></param>
/// <param name="bFailIfExists"></param> /// <param name="bFailIfExists"></param>
/// <returns></returns> /// <returns></returns>
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)) if (File.Exists(sourceFileName))
{ {

View File

@ -22,6 +22,7 @@
* 2020-11-12: V3.0.8 * 2020-11-12: V3.0.8
* 2022-03-19: V3.1.1 * 2022-03-19: V3.1.1
* 2023-11-16: V3.5.2 * 2023-11-16: V3.5.2
* 2024-07-10: V3.6.7 TopLeft
******************************************************************************/ ******************************************************************************/
using System.ComponentModel; using System.ComponentModel;
@ -39,7 +40,6 @@ namespace Sunny.UI
{ {
base.Font = UIStyles.Font(); base.Font = UIStyles.Font();
Version = UIGlobal.Version; Version = UIGlobal.Version;
base.TextAlign = ContentAlignment.MiddleLeft;
ForeColor = UIStyles.Blue.LabelForeColor; ForeColor = UIStyles.Blue.LabelForeColor;
} }