Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/26/15, 08:36 PM   #1
Lodur
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 108
Need help understanding why these texture are not filling the background...

I have a ZO_ScrollList template for a row that includes a backdrop. I do not understand why the backdrop is drawing the way that it is... The highlight backdrop is not even doing the same thing as the default backdrop...

I really want this looking like the default UI backpack inventroy except wider... I'm using the same background textures as the inventory based on what /zgoo showed me. I have been trying stuff to get it working but no luck so far...

Anyone know what I need to do? Thanks.


What it looks like:


Using ControlOutline addon ( with a slight mod ):


Here is my row template xml:
Code:
<GuiXml>
  <Controls>
    <Control name="MailLooterLootListRow" virtual="true">
      <Dimensions x="750" y="52" />

      <Controls>
        <Texture name="$(parent)_BG" textureFile="/esoui/art/miscellaneous/listitem_backdrop.dds" layer="BACKGROUND" alpha="1" pixelRoundingEnabled="true" >
          <AnchorFill />
        </Texture>

        <Texture name="$(parent)_Highlight" textureFile="/esoui/art/miscellaneous/listitem_highlight.dds" layer="BACKGROUND" alpha="1" hidden="true">
          <AnchorFill />
        </Texture>

        <Texture name="$(parent)_Type" alpha="0.7">
          <Dimensions x="40" y="40" />
          <Anchor point="TOPLEFT" relativeTo="$(parent)" offsetX="10" offsetY="5" />
        </Texture>

        <Texture name="$(parent)_Icon">
          <Dimensions x="40" y="40" />
          <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$(parent)_Type" offsetX="42" offsetY="0" />
        </Texture>

        <Label name="$(parent)_Name" font="ZoFontGameBold" text="" wrapMode="ELLIPSIS">
          <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$(parent)_Icon" offsetX="27" offsetY="0" />
        </Label>

        <Label name="$(parent)_Value" font="ZoFontGameBold" text="">
          <Anchor point="RIGHT" relativePoint="RIGHT" relativeTo="$(parent)" offsetX="-10" offsetY="0" />
        </Label>
      </Controls>

    </Control>

  </Controls>
</GuiXml>
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Need help understanding why these texture are not filling the background...


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off