WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Rte at 1/4/2006 6:35:08 AM PST
Subject: slouken: Problem with parent inheritance
   Slouken, I'm not 100% sure, but it seems that there is a problem when frame tries to inherit parent from the tamplate.
Short demo:

XML:

<Frame name="Tamplate" hidden="false" frameStrata="LOW" parrent="UIParent" virtual="true">
<Size>
<AbsDimension x="110" y="120" />
</Size>
<Backdrop edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">

<TileSize>
<AbsValue val="16"/>
</TileSize>

<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
</Frame>

<Frame name="Frame1" hidden="false" parent="UIParent" inherits="Tamplate" toplevel="true">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Frame>

<Frame name="Frame2" hidden="false" inherits="Tamplate" toplevel="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Frame1" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Frame>


Now, when you hit alt+z to hide all UI it will hide Frame1, but not Frame2 (I have not tested this exact version, but it is copy-paste with some editing from my addon, so it should have the same effect) and this was working fine pre 1.9
GT: http://www.curse-gaming.com/mod.php?addid=1899
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=291290&p=#post291290
 
Poster: slouken at 1/4/2006 7:41:46 AM PST
Subject: Re: slouken: Problem with parent inheritance
   It's a typo. You have "parrent", not "parent" :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=291290&p=#post291459

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?