View Single Post
01/30/23, 03:26 PM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,964
Originally Posted by Masteroshi430 View Post
Update 37 ResizeToFitDescendents changes topic :
https://www.esoui.com/forums/showthread.php?t=10338
Yeah, got that on PTS login e.g.
Code:
ResizeToFitDescendents: Enabling resizToFitDescendents is illegal for Label tbugGlobalInspectorContentsCount
And this happens because I have defined dimension constraints to it too? Or because there is no "child control" which would resize?
Code:
<Label name="$(parent)ContentsCount" font="TbugFontGameVerySmall" color="DDDDDDDD" verticalAlignment="CENTER"
					   wrapMode="ELLIPSIS" tier="LOW" layer="CONTROLS" level="1" resizeToFitDescendents="true">
					<DimensionConstraints maxX="50" maxY="20" minX="0" minY="20" />
					<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)Tabs" relativePoint="BOTTOMRIGHT" offsetX="-2" />
				</Label>
  Reply With Quote