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/12/28 10:43:31 UTC

[royale-asjs] branch develop updated: jewel-datagrid: update example

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 13eb989  jewel-datagrid: update example
13eb989 is described below

commit 13eb9890417b6bc1e97c8e5af3a61378a8ddbb83
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sat Dec 28 11:43:20 2019 +0100

    jewel-datagrid: update example
---
 .../royale/TourDeJewel/src/main/royale/DataGridPlayGround.mxml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/examples/royale/TourDeJewel/src/main/royale/DataGridPlayGround.mxml b/examples/royale/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
index ee0be53..b7a7c52 100644
--- a/examples/royale/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
@@ -118,7 +118,8 @@ limitations under the License.
 			<j:Card>
 				<html:H3 text="Jewel DataGrid"/>
 				
-				<j:Label text="Basic configuration, width = 100%, no column widths, rowHeight=42"/>
+				<j:Label text="Basic configuration, width = 100%, no column widths, rowHeight=42 and emphasis='secondary'"
+					multiline="true"/>
 
 				<j:DataGrid width="100%" emphasis="secondary" rowHeight="42"
 					change="dataGridIconListChange(event.target as DataGrid, datagrid3_lb)">
@@ -129,9 +130,9 @@ limitations under the License.
 							destinationPropertyName="dataProvider"/>
 					</j:beads>
 					<j:columns>
-						<j:DataGridColumn label="Label" dataField="label" 
+						<j:DataGridColumn label="Icon" dataField="icon" 
 											itemRenderer="itemRenderers.IconItemRenderer"/>
-						<j:DataGridColumn label="Icon" dataField="icon"/>
+						<j:DataGridColumn label="Label" dataField="label"/>
 						<j:DataGridColumn label="Set" dataField="componentSet"/>
 					</j:columns>
 				</j:DataGrid>
@@ -143,7 +144,8 @@ limitations under the License.
 			<j:Card>
 				<html:H3 text="Jewel DataGrid"/>
 				
-				<j:Label text="Using specific column widths, rowHeight=40"/>
+				<j:Label text="Using specific column widths, rowHeight=40 and emphasis='emphasized'"
+					multiline="true"/>
 
 				<j:DataGrid localId="datagrid4" height="246"
 					rowHeight="40" emphasis="emphasized"