You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2020/04/15 05:16:34 UTC

[royale-asjs] 01/02: fixes for Spark List. Should fix #760

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 267f686b7b9d2622e4b07ff35809a58d7b671658
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Apr 14 22:15:43 2020 -0700

    fixes for Spark List.  Should fix #760
---
 .../controls/listClasses/VirtualDataItemRendererFactoryForIListData.as  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/VirtualDataItemRendererFactoryForIListData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/VirtualDataItemRendererFactoryForIListData.as
index 9450571..0bec19d 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/VirtualDataItemRendererFactoryForIListData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/VirtualDataItemRendererFactoryForIListData.as
@@ -120,6 +120,8 @@ package mx.controls.listClasses
             var dataGroup:IItemRendererOwnerView = view.dataGroup;
             
             dataGroup.removeAllItemRenderers();
+			IEventDispatcher(_strand).dispatchEvent(new Event("layoutNeeded"));
+			
         }