setting change
This commit is contained in:
@@ -16,11 +16,7 @@ namespace NBC
|
||||
bool IsShowing { get; }
|
||||
bool IsCanVisible { get; }
|
||||
bool IsDotDel { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 不能返回
|
||||
/// </summary>
|
||||
bool IsDontBack { get; }
|
||||
|
||||
|
||||
bool IsModal { get; }
|
||||
|
||||
@@ -30,6 +26,7 @@ namespace NBC
|
||||
void SetData(object args);
|
||||
object GetData();
|
||||
string[] GetDependPackages();
|
||||
void SetLanguage();
|
||||
|
||||
void Init();
|
||||
void Show();
|
||||
|
||||
@@ -190,6 +190,7 @@ namespace NBC
|
||||
Show();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设置刷新多语言
|
||||
/// </summary>
|
||||
|
||||
@@ -137,7 +137,14 @@ namespace NBC
|
||||
|
||||
if (curField == null) return;
|
||||
var textFormat = curField.textFormat;
|
||||
var font = Lan.GetLanFontByCurFont(textFormat.font);
|
||||
Log.Info($"font={textFormat.font}");
|
||||
var fontName = textFormat.font;
|
||||
if (string.IsNullOrEmpty(fontName))
|
||||
{
|
||||
fontName = UIConfig.defaultFont;
|
||||
}
|
||||
|
||||
var font = Lan.GetLanFontByCurFont(fontName);
|
||||
if (font == null) return;
|
||||
textFormat.font = font;
|
||||
curField.textFormat = textFormat;
|
||||
|
||||
Reference in New Issue
Block a user