4 [
Attribute(uiwidget: UIWidgets.EditBoxWithButton)]
7 [
Attribute(defvalue:
"{D06D740EB045FC14}UI/layouts/Menus/FieldManual/Pieces/FieldManual_Piece_Text.layout", uiwidget: UIWidgets.EditBoxWithButton,
params:
"layout")]
16 m_Layout =
"{D06D740EB045FC14}UI/layouts/Menus/FieldManual/Pieces/FieldManual_Piece_Text.layout";
21 override void CreateWidget(notnull Widget parent)
23 Widget createdWidget =
GetGame().GetWorkspace().CreateWidgets(
m_Layout, parent);
26 Print(
string.Format(
"created widget (%2:%1) was null | " + FilePath.StripPath(__FILE__) +
":" + __LINE__,
m_Layout,
m_sText), LogLevel.DEBUG);
30 TextWidget textWidget = TextWidget.Cast(createdWidget);
33 textWidget = TextWidget.Cast(
SCR_WidgetHelper.GetWidgetOrChild(createdWidget,
"Text"));
38 Print(
"created widget could not be set text | " + FilePath.StripPath(__FILE__) +
":" + __LINE__, LogLevel.DEBUG);