Multiple Children
Posted: Tue Jul 05, 2005 02:21
I have the following XML layout ..
Now I wanted /Chat/Wnd/Edit to be also be a child of /Chat/Wnd - instead it gets attached to /Chat/Wnd/List.
I have worked around it in the code for now but is there a way to set it correctly from the xml ?
Code: Select all
<?xml version="1.0" ?>
<GUILayout>
<Window Type="TaharezLook/FrameWindow" Name="/Chat">
<Property Name="Position" Value="x:0.0 y:0.0" />
<Property Name="Size" Value="w:0.25 h:0.25" />
<Property Name="Alpha" Value="0.6" />
<Window Type="DefaultWindow" Name="/Chat/Wnd">
<Property Name="InheritsAlpha" Value="True" />
<Property Name="Position" Value="x:0.0 y:0.00" />
<Property Name="Size" Value="w:1 h:1" />
<Window Type="TaharezLook/Listbox" Name="/Chat/Wnd/List">
<Property Name="Position" Value="x:0.0 y:0.1" />
<Property Name="Size" Value="w:1 h:0.77" />
<Property Name="InheritsAlpha" Value="True" />
<Property Name="ReadOnly" value = "True" />
/Window>
<Window Type="TaharezLook/Editbox" Name="/Chat/Wnd/Edit" >
<Property Name="Position" Value="x:0.01 y:0.87" />
<Property Name="Size" Value="w:0.98 h:0.12" />
<Property Name="InheritsAlpha" Value="True" />
/Window>
</Window>
</Window>
</GUILayout>
Now I wanted /Chat/Wnd/Edit to be also be a child of /Chat/Wnd - instead it gets attached to /Chat/Wnd/List.
I have worked around it in the code for now but is there a way to set it correctly from the xml ?