Tree ItemRenderer 不显示添加到渲染器中 BorderContainer 的微小 TitleWindows?
我面临一些问题,我将一些标题窗口添加到树的ItemRenderer中。但有时树不会在树项目渲染器中显示那些微小的标题窗口..这是树重用其渲染器的问题.. (这些窗口的皮肤像小圆圈一样,并特定于项目渲染器的data
添加。这些TitleWindows使用addElement()
添加到s:BorderContainer
在渲染器中)
设置数据时添加这些窗口
public function set data(data:xml):void
{
// add windows
}
我在显示事件中
protected function ShowHandler(event:Event):void
{
// add windows
}
。有没有任何解决方案......每个可见的 ItemRenderer
中都有窗口...
I am facing some problem that I add some title widows to the ItemRenderer of tree. but some time tree don't show those tiny title windows in tree item-renderer.. is this the issue that tree re-use its renderers..
(these windows are skinned like little cricles, and added specific to the data
of item renderer.. these TitleWindows are added using addElement()
to a s:BorderContainer
in the renderer)
i add these windoes when data is set in
public function set data(data:xml):void
{
// add windows
}
and on show event..
protected function ShowHandler(event:Event):void
{
// add windows
}
is there any solution that.. every visible ItemRenderer
has the windows in it...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在弄清楚了..我正在删除创建完成时的所有元素..删除了它。现在效果很好。感谢您帮助大卫·戈沙泽……
figuered out now.. i was removing all elements at creationComplete .. removed that. now its working good. thanks for helping David Goshadze...