View Single Post
07/01/21, 09:52 AM   #13
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Originally Posted by rp12439_3 View Post
Thank you so much. I will try this!

I had to add the second anchor to the labels because they did not wrap without it. Dont know why.
I guess because there was no height of the label defined via Dimensions or DimensionConstraints.
You could also add a 2nd anchor to the bottom label so it anchors to the bottom of the TLC.
This will span the label from topleft to bottomright.
Only the 1st label needs to be defined with a dimensin so the 2nd knows where to anchor to.

<Label name="$(parent)ItemFlavor" font="ZoFontGameLargeBold" color="CFDCBD" wrapMode="ELLIPSIS" verticalAlignment="TOP" text="">
<Anchor point="TOPLEFT" relativeTo="$(parent)TraitTypeText" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="0"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMRIGHT" offsetX="0" offsetY="0"/>
</Label>

Last edited by Baertram : 07/01/21 at 09:56 AM.
  Reply With Quote