<s:HGroup horizontalAlign="center" > <s:Image id="image" maxHeight="144" maxWidth="144" source="{genericDocumentImageClass}"/> </s:HGroup>
Solved! Go to Solution.
<s:VGroup left="8" right="8" top="8" bottom="8" horizontalAlign="center"> <s:Image id="image" maxHeight="64" maxWidth="64" source="{genericDocumentImageClass}"/> <s:Label id="labelName"/> <s:Label id="labelSize"/> </s:VGroup>
<s:HGroup left="8" right="8" top="8" bottom="8" horizontalAlign="center"> <mx:Image id="image" maintainAspectRatio="true" maxHeight="128" maxWidth="128" source="@Embed('/assets/images/edit_genericdocument.png')" toolTip="{data.name}"/> </s:HGroup>