You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2025/03/24 22:02:57 UTC
(royale-asjs) 02/02: RoyaleWebsite: fixed layout of this example
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit a27b7599e4ff9b9ee3cd831baace5725447c154b
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Fri Mar 21 13:10:32 2025 -0700
RoyaleWebsite: fixed layout of this example
It seems that the default layout must have changed since this example was created, and we need to use NoLayout instead to ensure that divs are not all absolutely positioned at 0,0
---
examples/royale/RoyaleWebsite/src/main/royale/RoyaleWebsite.mxml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/royale/RoyaleWebsite/src/main/royale/RoyaleWebsite.mxml b/examples/royale/RoyaleWebsite/src/main/royale/RoyaleWebsite.mxml
index 46ce8ce30b..a3325af224 100644
--- a/examples/royale/RoyaleWebsite/src/main/royale/RoyaleWebsite.mxml
+++ b/examples/royale/RoyaleWebsite/src/main/royale/RoyaleWebsite.mxml
@@ -34,6 +34,9 @@ limitations under the License.
<js:initialView>
<rs:MainPage width="100%" height="100%">
+ <rs:beads>
+ <js:NoLayout/>
+ </rs:beads>
<rs:TopBar />
<rs:Tagline />
<H2>Code Once. Run Everywhere.</H2>