flex combobox下拉文本对齐问题

时间:2014-07-15 12:33:32

标签: flex combobox

我有一个组合框,其中textAlign默认为center。我尝试将其设置为texAlign="left",但文字仍然居中。

<s:HGroup width="100%" height="90%" textAlign="left">
        <s:VGroup width="45%" height="100%" textAlign="left">
            <s:Label width="100%" fontSize="12" text="Company Name:" textAlign="left"
                     verticalAlign="middle"/>
            <s:TextInput id="companyNameForm" width="100%"/>
            <s:Label width="100%" fontSize="12" text="Industry:" textAlign="left"/>
            <s:ComboBox id="companyIndustryForm" x="0" width="100%"
                        creationComplete="LoadIndustList(event)" labelField="IndustryEn"
                        selectedIndex="1"/>
            <s:Label  width="100%" fontSize="12" text="Contact Person:" textAlign="left"/>
            <s:TextInput id="companyContactPersonForm" width="100%"/>
            <s:Label  width="100%" fontSize="12" text="Contact Phone:" textAlign="left"/>
            <s:TextInput id="companyContactPhoneForm" width="100%"/>
            <s:Label width="100%" fontSize="12" text="Created By:" textAlign="left"/>
            <s:TextInput id="companyCreatedByForm" width="100%"/>
            <s:Label width="100%" fontSize="12" text="Created Date" textAlign="left"/>
            <s:TextInput id="companyCreatedDateForm" width="100%"/>

        </s:VGroup>

0 个答案:

没有答案