<?xml version="1.0"?>
<!-- http://blog.flexexamples.com/2008/11/04/aligning-text-vertically-within-an-fxtextinput-control-in-flex-gumbo/ -->
<FxApplication name="FxTextInput_verticalAlign_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        viewSourceURL="srcview/index.html">
    <layout>
        <BasicLayout />
    </layout>

    <Declarations>
        <Array id="arr">
            <Object label="top" />
            <Object label="middle" />
            <Object label="bottom" />
            <Object label="justified" />
        </Array>
    </Declarations>

    <Form>
        <FormItem label="verticalAlign:">
            <ComboBox id="comboBox" dataProvider="{arr}" />
        </FormItem>
    </Form>

    <HGroup verticalCenter="0" horizontalCenter="0">
        <FxTextInput height="100" verticalAlign="{comboBox.selectedItem.label}">
            <text>The quick brown fox jumped over the lazy dog. 1234567890</text>
        </FxTextInput>
    </HGroup>

    <Label text="{mx_internal::VERSION}" horizontalCenter="0" bottom="5" />

</FxApplication>