This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/jewel-ui-set in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/jewel-ui-set by this push: new d254784 fix texts in alert pod in example d254784 is described below commit d254784b1c6a17215c764a2664bc729921d7db94 Author: Carlos Rovira <carlosrov...@apache.org> AuthorDate: Sun Apr 1 19:55:17 2018 +0200 fix texts in alert pod in example --- examples/royale/JewelExample/pom.xml | 2 +- examples/royale/JewelExample/src/main/royale/AlertPlayGround.mxml | 6 +++--- examples/royale/JewelExample/src/main/royale/MainContent.mxml | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/examples/royale/JewelExample/pom.xml b/examples/royale/JewelExample/pom.xml index b5df326..964edb5 100644 --- a/examples/royale/JewelExample/pom.xml +++ b/examples/royale/JewelExample/pom.xml @@ -48,7 +48,7 @@ <configuration> <mainClass>App.mxml</mainClass> <targets>JSRoyale,SWF</targets> - <debug>false</debug> + <!-- <debug>false</debug> --> <htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate> </configuration> </plugin> diff --git a/examples/royale/JewelExample/src/main/royale/AlertPlayGround.mxml b/examples/royale/JewelExample/src/main/royale/AlertPlayGround.mxml index 230f74d..33a5a63 100644 --- a/examples/royale/JewelExample/src/main/royale/AlertPlayGround.mxml +++ b/examples/royale/JewelExample/src/main/royale/AlertPlayGround.mxml @@ -21,7 +21,7 @@ limitations under the License. xmlns:js="library://ns.apache.org/royale/basic" xmlns:html="library://ns.apache.org/royale/html" xmlns:j="library://ns.apache.org/royale/jewel" - className="container"> + className="container" width="350"> <fx:Script> <![CDATA[ @@ -52,10 +52,10 @@ limitations under the License. <html:H3 text="Jewel Alert"/> - <j:Label text="Click the button below to display a simple Alert window"/> + <html:Div text="Click the button below to display a simple Alert window"/> <j:TextButton text="Click Me" click="Alert.show('This is an Alert component example that shows a label text and the default OK button.', 'Alert Example')"/> - <j:Label text="Click the button below to display an Alert window and capture the button pressed by the user."/> + <html:Div text="Click the button below to display an Alert window and capture the button pressed by the user."/> <j:TextButton text="Click Me" click="clickHandler(event)"/> <j:Label id="status"/> diff --git a/examples/royale/JewelExample/src/main/royale/MainContent.mxml b/examples/royale/JewelExample/src/main/royale/MainContent.mxml index 3cdb9d4..9b5da0c 100644 --- a/examples/royale/JewelExample/src/main/royale/MainContent.mxml +++ b/examples/royale/JewelExample/src/main/royale/MainContent.mxml @@ -50,6 +50,12 @@ limitations under the License. </js:beads> <local:SliderPlayGround/> <local:HeadingsAndText/> + </js:Group> + + <js:Group> + <js:beads> + <j:VerticalLayoutWithPaddingAndGap gap="10"/> + </js:beads> <local:AlertPlayGround/> </js:Group> -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.