新增面板

This commit is contained in:
Bob.Song
2026-03-23 20:45:07 +08:00
parent 287564c97c
commit b6320af0c9
8 changed files with 39 additions and 28 deletions

View File

@@ -18,12 +18,8 @@ namespace NBF
public Controller style;
[AutoFind(Name = "back_full")]
public GImage back_full;
[AutoFind(Name = "back")]
public GImage back;
[AutoFind(Name = "back2")]
public GImage back2;
[AutoFind(Name = "TextTitle")]
public GTextField TextTitle;
[AutoFind(Name = "Modal")]
public GLabel Modal;
[AutoFind(Name = "TextContent")]
public GTextField TextContent;
[AutoFind(Name = "BtnConfirm1")]

View File

@@ -57,8 +57,8 @@ namespace NBF
BtnConfirm1.SetLanguage(_confirmText);
BtnConfirm2.SetLanguage(_confirmText);
BtnCancel.SetLanguage(_cancelText);
// MessageStyle.selectedIndex = _style;
TextTitle.SetLanguage(_title);
style.selectedIndex = _style;
Modal.SetLanguage(_title);
TextContent.SetLanguage(_content);
}