This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new f8693c8 Need it initialize viewstack children with
includeInLayout=false. Reference #962
new 1fe09b1 Merge branch 'develop' of
https://github.com/apache/royale-asjs into develop
f8693c8 is described below
commit f8693c868163e509f474f7ed340dc830e8b25e5b
Author: Yishay Weiss <[email protected]>
AuthorDate: Thu Dec 3 07:04:24 2020 +0000
Need it initialize viewstack children with includeInLayout=false. Reference
#962
---
frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as | 1 +
1 file changed, 1 insertion(+)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
index 8f1bdb4..614d473 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
@@ -1361,6 +1361,7 @@ public class ViewStack extends Container implements
/*IHistoryManagerClient,*/ I
var uiChild:IUIComponent = IUIComponent(child);
// ViewStack creates all of its children initially invisible.
// They are made as they become the selected child.
+ uiChild.includeInLayout = false;
uiChild.visible = false;
}
if (child is INavigatorContent)