Apache flex flex combobox下拉列表textAlign问题

Apache flex flex combobox下拉列表textAlign问题,apache-flex,combobox,Apache Flex,Combobox,我有一个组合框,其中文本对齐默认为居中。我尝试将其设置为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:

我有一个组合框,其中
文本对齐
默认为
居中
。我尝试将其设置为
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>


这与您使用的代码相同吗?如果是您的
组合框
元素缺少
textAlign
属性,请将其添加到
组合框
中,然后重试。已完成此操作,仍会产生中心对齐