1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 09:39:40 +00:00

Fix Lua TextEdit skin

This commit is contained in:
uramer 2022-02-16 21:48:21 +01:00
parent fc50724f5c
commit e7ed709e5e
2 changed files with 12 additions and 2 deletions

View file

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

View file

@ -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>