You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/01/29 17:17:05 UTC

[royale-asjs] branch develop updated: TourDeJewel: removing artificial VGroup and HGroup in FormExample since are not needed

This is an automated email from the ASF dual-hosted git repository.

carlosrovira 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 7b4cdd3  TourDeJewel: removing artificial VGroup and HGroup in FormExample since are not needed
     new f10e212  Merge branch 'develop' of https://github.com/apache/royale-asjs into develop
7b4cdd3 is described below

commit 7b4cdd386a816f53621294661d893d91d7421aa6
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Jan 29 18:16:41 2019 +0100

    TourDeJewel: removing artificial VGroup and HGroup in FormExample since are not needed
---
 .../src/main/royale/components/FormExample.mxml    | 36 +++++++++++-----------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/examples/royale/TourDeJewel/src/main/royale/components/FormExample.mxml b/examples/royale/TourDeJewel/src/main/royale/components/FormExample.mxml
index ae833bc..5903f18 100644
--- a/examples/royale/TourDeJewel/src/main/royale/components/FormExample.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/components/FormExample.mxml
@@ -86,26 +86,26 @@ limitations under the License.
     </j:FormItem>
 
     <j:FormItem label="Favorite movies (at least 2)" required="true">
-        <j:VGroup gap="3">
-            <j:beads>
-                <j:CheckBoxValidator required="2" requiredFieldError="Please choose at least 2 movies"/>
-            </j:beads>
-            <j:CheckBox text="The Godfather"/>
-            <j:CheckBox text="Scent of a woman"/>
-            <j:CheckBox text="Star Wars"/>
-            <j:CheckBox text="The Shawshank Redemption"/>
-        </j:VGroup>
+        <j:beads>
+            <j:CheckBoxValidator required="2" requiredFieldError="Please choose at least 2 movies"/>
+        </j:beads>
+        <j:CheckBox text="The Godfather"/>
+        <j:CheckBox text="Scent of a woman"/>
+        <j:CheckBox text="Star Wars"/>
+        <j:CheckBox text="The Shawshank Redemption"/>
     </j:FormItem>
 
     <j:FormItem label="Verification code: {randomCode}" required="true">
-        <j:HGroup gap="3">
-            <j:TextInput>
-                <j:beads>
-                    <j:TextPrompt prompt="Enter Verification Code"/>
-                    <j:StringValidator validateFunction="{customValidate}"/>
-                </j:beads>
-            </j:TextInput>
-            <j:Button localId="btn" text="send" emphasis="primary"/>
-        </j:HGroup>
+        <j:beads>
+            <j:HorizontalLayout gap="3"/>
+        </j:beads>
+
+        <j:TextInput>
+            <j:beads>
+                <j:TextPrompt prompt="Enter Verification Code"/>
+                <j:StringValidator validateFunction="{customValidate}"/>
+            </j:beads>
+        </j:TextInput>
+        <j:Button localId="btn" text="send" emphasis="primary"/>
     </j:FormItem>
 </j:Form>