adding vbox+hbox combo example
This commit is contained in:
parent
9a04889a47
commit
0f428fddbd
28
03c2-box-model/VBoxHBoxCombo.mxml
Normal file
28
03c2-box-model/VBoxHBoxCombo.mxml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
|
||||
backgroundColor="#FFFFFF"
|
||||
backgroundAlpha="0">
|
||||
|
||||
<mx:VBox horizontalAlign="center"
|
||||
verticalGap="15">
|
||||
|
||||
<mx:HBox verticalAlign="middle"
|
||||
horizontalGap="15">
|
||||
|
||||
<mx:Button label="< prev"
|
||||
left="10" top="120" />
|
||||
|
||||
<mx:Image source="assets/animals03.jpg"
|
||||
horizontalCenter="0" top="30"/>
|
||||
|
||||
<mx:Button label="next >"
|
||||
right="10" top="120"/>
|
||||
|
||||
</mx:HBox>
|
||||
|
||||
<mx:Label text="Photographed by Elsie Weil"
|
||||
horizontalCenter="0" top="250"/>
|
||||
|
||||
</mx:VBox>
|
||||
|
||||
</mx:Application>
|
Loading…
Reference in New Issue
Block a user