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 2019/12/05 08:08:43 UTC

[royale-asjs] 01/02: restore box-model

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 abddab68ea01ada0493b39e828173eec16cb355b
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Dec 5 00:08:05 2019 -0800

    restore box-model
---
 .../projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
index d5ff2a1..36ad29b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
@@ -2950,6 +2950,7 @@ public class SystemManager extends SystemManagerBase implements ISystemManager,
     {
         var body:HTMLElement = document.getElementsByTagName('body')[0];
         body.appendChild(element);
+        element.className = "Application";  // to pick up box-model
         
         SystemManagerGlobals.info = info();