Try this out <s:BorderContainer borderColor="red"> <s:layout> <s:VerticalLayout verticalAlign="middle" horizontalAlign="center" /> </s:layout> <s:Button label="Submit" /> <s:Button label="Cancel" />
</s:BorderContainer> On Tue, Apr 5, 2011 at 6:14 AM, madhavi chinni <[email protected]>wrote: > Hi, > > I have a BorderContainer and a VGroup.The VGroup is having a Image and > a Label.I want to align this VGroup in the center of the > BorderContainer both horizontally and vertically.I am using the below > code: > <s:VGroup horizontalAlign="center" verticalAlign="middle"> > But the VGroup is not getting aligned at the center. > > Can anyone help me on this. > > Thanks, > Madhavi > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

