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:
parent
fc50724f5c
commit
e7ed709e5e
2 changed files with 12 additions and 2 deletions
|
@ -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…
Reference in a new issue