Home Flex Container HDividedBox layout container



HDividedBox layout container
Posted on: November 14, 2009 at 12:00 AM
HDividedBox Layout Container is similar to HBox Layout Container.

HDividedBox layout container

     

HDividedBox Layout Container is similar to HBox Layout Container. The difference is, it adds a divider between its child components which can be used to resize the area of container for the child components using mouse pointer. Hold the divider with left button of the mouse and move it, you will see the resized areas of the containers associated with the divider.

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  horizontalAlign="center" verticalAlign="middle" width="560" height="258">

<mx:HDividedBox width="500" height="200">

<mx:VBox backgroundColor="#BAE2F9" width="100%" height="100%">

<mx:Text text="Flex is the an open source framework developed by Adobe for creating rich internet applications."/>

</mx:VBox>

<mx:VBox backgroundColor="#E6D4F6" width="100%" height="100%">

<mx:Text text="Flex based applications provide real time rich experience to the user which is not possible in traditional html based applications."/>

</mx:VBox>

<mx:VBox backgroundColor="#BAE2F9" width="100%" height="100%">

<mx:Text text="Currently, Flex is most popular choice because of its cross browser and cross platform features."/>

</mx:VBox>

<mx:VBox backgroundColor="#E6D4F6" width="100%" height="100%">

<mx:Text text="It runs consistently among all major browsers having flash player installed in it."/>

</mx:VBox>

</mx:HDividedBox>

</mx:Application>

 

Output:

Watch in action:

Download Code

Related Tags for HDividedBox layout container:


More Tutorials from this section

Ask Questions?    Discuss: HDividedBox layout container  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.