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 ddf707cb19b1c4399109aef859b3a14dbad44697
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Jun 4 15:36:50 2020 +0200

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

diff --git a/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml 
b/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
index 830708f..b11399b 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
@@ -192,13 +192,13 @@ limitations under the License.
                <j:GridCell desktopNumerator="1" desktopDenominator="2" 
tabletNumerator="1" tabletDenominator="2" phoneNumerator="1" 
phoneDenominator="1">
                        <j:Card>
                                <j:CardHeader>
-                                       <j:CardTitle text="TileLayout" 
className="primary-normal"/>
+                                       <j:CardTitle 
text="TileHorizontalLayout" className="primary-normal"/>
                                </j:CardHeader>
                                <j:CardPrimaryContent>
 
-                                       <j:Group className="wrapper" 
width="100%" height="200">
+                                       <j:Group className="wrapper" 
width="100%">
                                                <j:beads>
-                                                       <j:TileLayout 
localId="tl" horizontalGap="6" verticalGap="6" waitForSize="true"/>
+                                                       <j:TileHorizontalLayout 
localId="tl" 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,10 +218,6 @@ limitations under the License.
                                <j:CardActions itemsHorizontalAlign = 
"itemsCenter">
                                        <j:VGroup>
                                                <j:VGroup>
-                                                       <j:Label 
text="requestedColumnCount"/>
-                                                       <j:HSlider width="200" 
value="4" minimum="1" maximum="8" valueChange="tl.requestedColumnCount = 
event.target.value"/>
-                                               </j:VGroup>
-                                               <j:VGroup>
                                                        <j:Label 
text="columnWidth"/>
                                                        <j:HSlider width="200" 
value="60" minimum="50" maximum="150" valueChange="tl.columnWidth = 
event.target.value"/>
                                                </j:VGroup>
@@ -229,12 +225,16 @@ limitations under the License.
                                                        <j:Label 
text="horizontalGap"/>
                                                        <j:HSlider width="200" 
value="6" minimum="0" maximum="20" valueChange="tl.horizontalGap = 
event.target.value"/>
                                                </j:VGroup>
+                                               <j:VGroup>
+                                                       <j:Label 
text="requestedColumnCount"/>
+                                                       <j:HSlider width="200" 
value="4" minimum="1" maximum="8" valueChange="tl.requestedColumnCount = 
event.target.value"/>
+                                               </j:VGroup>
                                        </j:VGroup>
                                        <j:VGroup>
-                                               <j:VGroup>
+                                               <!-- <j:VGroup>
                                                        <j:Label 
text="requestedRowCount"/>
                                                        <j:HSlider width="200" 
value="2" minimum="1" maximum="8" valueChange="tl.requestedRowCount = 
event.target.value"/>
-                                               </j:VGroup>
+                                               </j:VGroup> -->
                                                <j:VGroup>
                                                        <j:Label 
text="rowHeight"/>
                                                        <j:HSlider width="200" 
value="60" minimum="50" maximum="150" valueChange="tl.rowHeight = 
event.target.value"/>

Reply via email to