Originally Posted by Masteroshi430
|
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>