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

commit 1e9d562e651eb395a8bd8032dddd7e8a471bdecb
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Jun 2 23:52:17 2020 +0200

    tour-de-jewel: improve tilelayout example
---
 examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml 
b/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
index 03081a2..cc32c4a 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
@@ -198,7 +198,7 @@ limitations under the License.
 
                                        <j:Group className="wrapper" 
width="100%" height="200">
                                                <j:beads>
-                                                       <j:TileLayout 
localId="tl" horizontalGap="6" waitForSize="true"/>
+                                                       <j:TileLayout 
localId="tl" horizontalGap="6" verticalGap="6" waitForSize="true"/>
                                                </j:beads>
                                                <j:Button text="1" 
emphasis="primary" width="60" height="60"/>
                                                <j:Button text="2" 
emphasis="secondary" width="60" height="60"/>
@@ -218,7 +218,7 @@ limitations under the License.
                                <j:CardActions itemsHorizontalAlign = 
"itemsCenter">
                                        <j:VGroup>
                                                <j:VGroup>
-                                                       <j:Label 
text="columnCount"/>
+                                                       <j:Label 
text="columnCount = {tl.columnCount}"/>
                                                        <j:HSlider width="200" 
value="3" minimum="1" maximum="6" valueChange="tl.columnCount = 
event.target.value"/>
                                                </j:VGroup>
                                                <j:VGroup>
@@ -233,11 +233,11 @@ limitations under the License.
                                        <j:VGroup>
                                                <j:VGroup>
                                                        <j:Label 
text="verticalGap"/>
-                                                       <j:HSlider width="200" 
value="0" minimum="0" maximum="10" valueChange="tl.verticalGap = 
event.target.value"/>
+                                                       <j:HSlider width="200" 
value="6" minimum="0" maximum="10" valueChange="tl.verticalGap = 
event.target.value"/>
                                                </j:VGroup>
                                                <j:VGroup>
                                                        <j:Label 
text="horizontalGap"/>
-                                                       <j:HSlider width="200" 
value="0" minimum="0" maximum="10" valueChange="tl.horizontalGap = 
event.target.value"/>
+                                                       <j:HSlider width="200" 
value="6" minimum="0" maximum="10" valueChange="tl.horizontalGap = 
event.target.value"/>
                                                </j:VGroup>
                                        </j:VGroup>
                                </j:CardActions>

Reply via email to