This is an automated email from the ASF dual-hosted git repository.
andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 27ad224 Update jewel-application.md improved layout of code sample
27ad224 is described below
commit 27ad2243004e3e40295065b800e69b6043e9397c
Author: Andrew Wetmore <[email protected]>
AuthorDate: Tue Dec 17 12:51:24 2024 -0400
Update jewel-application.md improved layout of code sample
---
component-sets/jewel/jewel-application.md | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/component-sets/jewel/jewel-application.md
b/component-sets/jewel/jewel-application.md
index 5882ea8..3f862b4 100644
--- a/component-sets/jewel/jewel-application.md
+++ b/component-sets/jewel/jewel-application.md
@@ -48,13 +48,14 @@ In __MXML__ declare an `Application` as the root tag of the
main application fil
xmlns:j="library://ns.apache.org/royale/jewel">
<j:valuesImpl>
- <js:SimpleCSSValuesImpl />
- </j:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </j:valuesImpl>
+
+ <j:initialView>
+ <!-- add a View or ResponsiveView -->
+ <j:View width="100%" height="100%"/>
+ </j:initialView>
- <j:initialView>
- <!-- add a View or ResponsiveView -->
- <j:View width="100%" height="100%"/>
- </j:initialView>
</j:Application>
```
@@ -70,5 +71,5 @@ launching the html file in a browser will execute the Jewel
Royale Application.
## Relevant Properties and Methods
-> Check the Reference of
[org.apache.royale.jewel.Application](https://royale.apache.org/asdoc/index.html#!org.apache.royale.jewel/Application){:target='_blank'}
for a more detailed list of properties and methods.
+> Check the Reference of
[org.apache.royale.jewel.Application](https://royale.apache.org/asdoc/index.html#!org.apache.royale.jewel/Application){:target='_blank'}
for a detailed list of properties and methods.