简体   繁体   English

选择项目后,Flex可搜索组合框中没有显示边框

[英]Border is not getting displayed in Flex Searchable ComboBox after selecting an item

Just after choosing an item in Searchable ComboBox, the border of the combobox is not visible. 在“可搜索组合框”中选择一个项目之后,组合框的边框不可见。 Then on blur of the combox the border is again visible. 然后,在combox模糊时,边框再次可见。 It's really strange feeling. 真是奇怪的感觉。 Please help me out here. 请帮我在这里。

<ComboBox id="studyId" 
     dataProvider="{employeeList}" 
/>

Here employeeList is an ArrayList collection where employee objects are there. 这里employeeList是一个ArrayList集合,其中有员工对象。 Note: I cannot provide/change any css/style for this combobox. 注意:我无法为此组合框提供/更改任何CSS /样式。 Please let me know if there is any other way in mxml part or Action Script. 请让我知道mxml part或Action Script中是否还有其他方法。

The combobox looks like the image. 组合框看起来像图像。 在此处输入图片说明

From what I see, its because of using application wide theme style since there is no skin associated with this combobox component. 从我的角度来看,这是因为使用了应用程序范围的主题样式,因为此组合框组件没有皮肤。

The best way to handle this is by creating custom skin in Flex to override any style you need. 解决此问题的最佳方法是在Flex中创建自定义外观,以覆盖所需的任何样式。

Example: http://blog.flexexamples.com/2009/07/11/removing-the-vertical-separator-from-the-halo-combobox-control-in-flex-4/ 示例: http//blog.flexexamples.com/2009/07/11/removing-the-vertical-separator-from-the-halo-combobox-control-in-flex-4/

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM