Quantcast LoTROInterface - View Single Post - A small issue...
View Single Post
  #9  
Unread 09-23-2015, 09:29 AM
Thurallor's Avatar
Thurallor Thurallor is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2013
Posts: 171
Addendum:

Quote:
Be sure to copy everything between the opening and closing PanelFile tags.
It seems that you don't actually have to copy everything inside the PanelFile tags, if you only want to change one or two elements. However, for any element that you do want to change, you must include all of its containing elements. Example:
Code:
<PanelFile ID="Blah">
    <Element ID="Stuff" X="242" Y="448" Width="270" Height="266"> 
        <Element ID="Bloop" X="0" Y="20" Width="270" Height="245" /> 
    </Element>
    <Element ID="Crud" X="0" Y="20" Width="270" Height="225" />
</PanelFile>
Suppose you just want to change the X coordinate of "Bloop" to 10. In that case, you must copy the containing elements ("Stuff", "Blah"), but you can leave out "Crud". The "Crud" element will continue to use the default X, Y, Width, and Height values that are built into the game.
Code:
<PanelFile ID="Blah">
    <Element ID="Stuff" X="242" Y="448" Width="270" Height="266"> 
        <Element ID="Bloop" X="10" Y="20" Width="270" Height="245" /> 
    </Element>
</PanelFile>

Last edited by Thurallor : 09-23-2015 at 09:33 AM.
Reply With Quote