Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
SiHoop #1
How to use HBox and VBox with States
I'm working on an application that uses a series of states to display
information in DataGrids and Panels. I want all of the information panels to be
placed next to each other horizontally, but to be centered on the screen. Can I
use VBox or HBox to set up my screens to achieve this effect?
SiHoop Guest
-
Layout problem with HBox and VBox
I want to create a login screen that is always centered on the screen. Within the login screen I want two text fields to be vertically aligned and... -
VBox adding functionality.
The TileList control has the ability to rearrange its items by drag and dropping. i want the same functionality for a VBox. However since I can only... -
HBox 100% width of GridItem parent.
Show this not create a HBox control the entire width of the GridItem it is inside? <mx:HBox backgroundColor="blue" width="100%"... -
MX:VBox under Tab Navigator
Ok I am working on a tab layout that shows different pricing. Right now I have 2 tabs with price grids on them. The second tab I want to make... -
hbox of vertical groups?
In trying to align my form controls, I attempted to use an hbox formgroup to get two sets of vertical formgroups to align side-by-side. This... -
Greg Lafrance #2
Re: How to use HBox and VBox with States
I hope I'm not missing something here, seems too easy:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
horizontalAlign="center" verticalAlign="middle">
<mx:HBox>
<mx:Panel label="Panel One">
<mx:TextArea text="Panel One - Text One"/>
<mx:TextArea text="Panel One - Text Two"/>
</mx:Panel>
<mx:Panel label="Panel Two">
<mx:TextArea text="Panel Two - Text One"/>
<mx:TextArea text="Panel Two - Text Two"/>
</mx:Panel>
<mx:Panel label="Panel Three">
<mx:TextArea text="Panel Three - Text One"/>
<mx:TextArea text="Panel Three - Text Two"/>
</mx:Panel>
</mx:HBox>
</mx:Application>
Greg Lafrance Guest



Reply With Quote

