* UILabel: 文字位置默认TopLeft
This commit is contained in:
parent
3333fe2aba
commit
1e03aed0a7
@ -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))
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user