Fix Lua TextEdit skin

ccache_for_windows
uramer 3 years ago
parent fc50724f5c
commit e7ed709e5e

@ -6,7 +6,7 @@ namespace LuaUi
{
void LuaTextEdit::initialize()
{
changeWidgetSkin("LuaText");
changeWidgetSkin("LuaTextEdit");
eventEditTextChange += MyGUI::newDelegate(this, &LuaTextEdit::textChange);

@ -8,6 +8,16 @@
<Resource type="ResourceSkin" name="LuaText" size="16 16">
<Property key="FontName" value="Default"/>
<Property key="TextAlign" value="Left Top"/>
<BasisSkin type="SimpleText" offset="0 0 16 16" align="Stretch" />
<BasisSkin type="SimpleText" offset="0 0 16 16" align="Stretch" name="Client" />
</Resource>
<Resource type="ResourceSkin" name="LuaTextEditClient" size="16 16">
<BasisSkin type="EditText" offset="0 0 16 16" align="Stretch" name="Client" />
</Resource>
<Resource type="ResourceSkin" name="LuaTextEdit" size="16 16">
<Property key="FontName" value="Default"/>
<Property key="TextAlign" value="Left Top"/>
<Child type="TextBox" skin="LuaTextEditClient" offset="0 0 16 16" align="Stretch" name="Client"/>
</Resource>
</MyGUI>
Loading…
Cancel
Save