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/01/02 14:49:48 UTC
[royale-asjs] branch develop updated: tour-de-jewel: add rowHeight
to a List example to expose it
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 24c859a tour-de-jewel: add rowHeight to a List example to expose it
24c859a is described below
commit 24c859a5702cd55d52af6e4dee9e007a258817cb
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Jan 2 15:49:35 2020 +0100
tour-de-jewel: add rowHeight to a List example to expose it
---
examples/royale/TourDeJewel/src/main/royale/ListPlayGround.mxml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/examples/royale/TourDeJewel/src/main/royale/ListPlayGround.mxml b/examples/royale/TourDeJewel/src/main/royale/ListPlayGround.mxml
index d10633f..f9f14d0 100644
--- a/examples/royale/TourDeJewel/src/main/royale/ListPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/ListPlayGround.mxml
@@ -161,10 +161,12 @@ limitations under the License.
<j:GridCell desktopNumerator="1" desktopDenominator="2" tabletNumerator="1" tabletDenominator="2" phoneNumerator="1" phoneDenominator="1">
<j:Card>
- <html:H3 text="Jewel List With ItemRenderer"/>
+ <html:H3 text="Jewel List With ItemRenderer and rowHeight=52"/>
<j:HGroup gap="3">
<j:VGroup gap="3">
- <j:List localId="iconList" emphasis="secondary" width="200" height="300" className="iconListItemRenderer" labelField="label">
+ <j:List localId="iconList" width="200" height="300"
+ className="iconListItemRenderer" labelField="label"
+ emphasis="secondary" rowHeight="52">
<j:beads>
<js:ConstantBinding sourceID="listModel" sourcePropertyName="iconListData" destinationPropertyName="dataProvider" />
<j:AddListItemRendererForArrayListData/>