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 2020/03/20 18:30:39 UTC

[royale-asjs] branch develop updated: tour-de-jewel: add example for #768

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 9ee3a30  tour-de-jewel: add example for #768
9ee3a30 is described below

commit 9ee3a30856d09795cea330fe638295ceae1e08b0
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Mar 20 19:30:35 2020 +0100

    tour-de-jewel: add example for #768
---
 .../TourDeJewel/src/main/royale/LayoutsPlayGround.mxml    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/examples/royale/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml b/examples/royale/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
index 42a819b..1ede8a9 100644
--- a/examples/royale/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/LayoutsPlayGround.mxml
@@ -159,6 +159,21 @@ limitations under the License.
 			</j:Card>
 		</j:GridCell>
 
+		<j:GridCell desktopNumerator="1" desktopDenominator="3" tabletNumerator="1" tabletDenominator="3" phoneNumerator="1" phoneDenominator="1">
+			<j:Card>
+				<html:H3 text="Jewel VerticalCenteredLayout (width200, height:200px)"/>
+
+				<j:Group width="300" height="200" className="wrapper">
+					<j:beads>
+						<j:VerticalCenteredLayout/>
+					</j:beads>
+					<j:Card width="50%" height="100">
+						<j:Label text="Card Min Width is 240px"/>
+					</j:Card>
+				</j:Group>
+			</j:Card>
+		</j:GridCell>
+
 		<!-- <j:GridCell desktopNumerator="1" desktopDenominator="3" tabletNumerator="1" tabletDenominator="3" phoneNumerator="1" phoneDenominator="1">
 			<j:Card>
 				<html:H4 text="Jewel HGroup"/>