Home Flex Container HDividedBox layout container

Related Tutorials


 
 

Share on Google+Share on Google+

HDividedBox layout container

Advertisement
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

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 14, 2009

Related Tutorials

Discuss: HDividedBox layout container  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com