1. Hi !

    I've some problem to do template. In fact, it just seems like it does not inherit at all. Juste like i forgot to place inherits="" in my code. Because when i place the code template directly in my frame it work properly (just wanted to do a frame template for setting a backdrop). Here is the code :

     <Frame name="MJC_WindowTemplate" virtual="true">
    
             <!-- Backdrop : Fond de la fenetre. Généralement les fond de tool tip etc (semi transparent)
                 edgefile : bordure
             -->
             <Size x="200" y="200" />
    
            <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                <EdgeSize>
                    <AbsValue val="16"/>
                </EdgeSize>
                <TileSize>
                    <AbsValue val="32"/>
                </TileSize>
                <BackgroundInsets>
                    <AbsInset left="5" right="5" top="5" bottom="5"/>
                </BackgroundInsets>
            </Backdrop>
        </Frame>
    

    My template xml file. And when i want to create a window :

     <Ui>
    
         <Frame name="MJC_MainWindow" inherits="MJC_WindowTemplate" hidden="false" enableMouse="true" movable="true" parent="UIParent">
             <Size x="450" y="250" />
    
            <!-- Ancre : Permet le positionnement relatif et absolu des elements graphiques
            -->
            <Anchors>
                <Anchor point="TOPLEFT" relativeTo="UIParent">
                    <Offset>
                        <AbsDimension x="200" y="-300"/>
                    </Offset>
                </Anchor>
            </Anchors>
    
             <!-- Systeme de couche, pour afficher les elements dans un ordre particulier (devant/derriere) -->
             <Layers>
                <Layer level="ARTWORK">
                    <FontString name="$parent_title" inherits="MJC_TitleYellow" text="MJCommandeur - pour NostalGeek - Grasdubidon/Alizia">
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="MJC_MainWindow" relativePoint="TOPLEFT">
                                <Offset>
                                    <AbsDimension x="50" y="50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
                    </FontString>
                </Layer>
            </Layers>
    
            <Frames>
                <FontString name="$parent_titlei" inherits="MJC_TitleYellow" text="MJCommandeurfgh">
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="MJC_MainWindow" relativePoint="TOPLEFT">
                            </Anchor>
                        </Anchors>
                 </FontString>
    

    etc...

    Won't work. Some help ?

  2. Have you validated your XML? Checked it against the schema definitions?