View Single Post
07/24/14, 02:19 PM   #21
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Originally Posted by merlight View Post
ZO_ScrollList has a child <Scroll name="$(parent)Contents" mouseEnabled="true">, use that as row parent, i.e. EventExplorerWindowScrollContents.
This one is not valid XML:
xml Code:
  1. <TopLevelControl name="EventExplorerWindow" mouseEnabled="true" movable="true" clampedToScreen="true" hidden="true" >
  2.             <Dimensions x="760" y="650" />
  3.             <Anchor point="CENTER" />
  4.             <Controls>
  5.                 <Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop" />
  6.                 <Control name="$(parent)Scroll" inherits="ZO_ScrollList">
  7.                     <Anchor point="TOPLEFT" offsetY="30" />
  8.                     <Anchor point="BOTTOMRIGHT" />
  9.                     <Scroll  name="$(parent)Contents" mouseEnabled="true" />
  10.                 </Control>
  11.             </Controls>
  12.         </TopLevelControl>

While this seems to be valid XML, but EventExploerWindowSrcoll stays nil for some reason so I cannot assign anything to it:
xml Code:
  1. <TopLevelControl name="EventExplorerWindow" mouseEnabled="true" movable="true" clampedToScreen="true" hidden="true" >
  2.             <Dimensions x="760" y="650" />
  3.             <Anchor point="CENTER" />
  4.                 <Controls>
  5.                     <Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop" />
  6.                     <Scroll name="$(parent)Scroll" mouseEnabled="true" />          
  7.                 </Control>
  8.             </Controls>
  9.         </TopLevelControl>
  Reply With Quote