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 e7d2a97 tour-de-jewel: alternate row color examples in List and Table
e7d2a97 is described below
commit e7d2a972916c4845dece07307d07d02655f301d7
Author: Carlos Rovira <[email protected]>
AuthorDate: Fri Jul 17 20:48:05 2020 +0200
tour-de-jewel: alternate row color examples in List and Table
---
examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml | 3 ++-
examples/jewel/TourDeJewel/src/main/royale/TablePlayGround.mxml | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml
b/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml
index 6ad0af4..0561de8 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml
@@ -330,7 +330,7 @@ limitations under the License.
<j:GridCell desktopNumerator="1" desktopDenominator="2"
tabletNumerator="1" tabletDenominator="2" phoneNumerator="1"
phoneDenominator="1">
<j:Card>
<j:CardHeader>
- <html:H3 text="Horizontal Scroll"
className="primary-normal"/>
+ <html:H3 text="Horizontal Scroll and
Alternate Row Colors" className="primary-normal"/>
</j:CardHeader>
<j:CardPrimaryContent>
@@ -339,6 +339,7 @@ limitations under the License.
dataProvider="{listModel.iconListData}">
<j:beads>
<j:HorizontalListScroll/>
+
<j:ListAlternateRowColor/>
</j:beads>
</j:List>
diff --git a/examples/jewel/TourDeJewel/src/main/royale/TablePlayGround.mxml
b/examples/jewel/TourDeJewel/src/main/royale/TablePlayGround.mxml
index 61944d3..5be284f 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/TablePlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/TablePlayGround.mxml
@@ -190,7 +190,7 @@ limitations under the License.
<j:Card>
<j:CardHeader>
- <html:H3 text="Jewel Table (Fixed
Header)" className="primary-normal"/>
+ <html:H3 text="Fixed Header and Scroll"
className="primary-normal"/>
</j:CardHeader>
<j:CardPrimaryContent>
@@ -236,7 +236,7 @@ limitations under the License.
<j:Card>
<j:CardHeader>
- <html:H3 text="Jewel Table"
className="primary-normal"/>
+ <html:H3 text="No Scroll and Alternate
Row Color" className="primary-normal"/>
</j:CardHeader>
<j:CardPrimaryContent>
@@ -252,6 +252,7 @@ limitations under the License.
<j:RemoveTableRowForArrayListData/>
<j:UpdateTableRowForArrayListData/>
<j:RemoveAllItemRendererForArrayListData/>
+
<j:TableAlternateRowColor/>
</j:beads>
</j:Table>