flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - fix list example IRs
Date Sat, 10 Dec 2016 16:37:24 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop df24969c6 -> d4757492f


fix list example IRs


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d4757492
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d4757492
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d4757492

Branch: refs/heads/develop
Commit: d4757492fb197a4c37ffb46995e2c0c60e05ff11
Parents: df24969
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Sat Dec 10 17:37:19 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Sat Dec 10 17:37:19 2016 +0100

----------------------------------------------------------------------
 .../flex/itemRenderers/ActorNameAndIconListItemRenderer.mxml | 6 +++---
 .../main/flex/itemRenderers/ActorNameListItemRenderer.mxml   | 6 +++++-
 .../src/main/flex/itemRenderers/CustomListItemRenderer.mxml  | 8 ++++++--
 3 files changed, 14 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4757492/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameAndIconListItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameAndIconListItemRenderer.mxml
b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameAndIconListItemRenderer.mxml
index 39e1a3c..423e35d 100644
--- a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameAndIconListItemRenderer.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameAndIconListItemRenderer.mxml
@@ -38,12 +38,12 @@ limitations under the License.
         <js:ItemRendererDataBinding />
     </js:beads>
     
-    <mdl:ListItemPrimaryContent>
+    <js:Span text="{actor.actorName}">
         <mdl:beads>
+            <mdl:ListItemPrimaryContent/>
             <mdl:MaterialIconPerson listItemIcon="true"/>
         </mdl:beads>
-        <js:Span text="{actor.actorName}"/>
-    </mdl:ListItemPrimaryContent>
+    </js:Span>
       
 </mdl:ListItemRenderer>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4757492/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameListItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameListItemRenderer.mxml
b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameListItemRenderer.mxml
index b4b33b5..4092bf7 100644
--- a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameListItemRenderer.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/ActorNameListItemRenderer.mxml
@@ -38,7 +38,11 @@ limitations under the License.
         <js:ItemRendererDataBinding />
     </js:beads>
     
-    <mdl:ListItemPrimaryContent text="{actor.actorName}"/>
+    <js:Span text="{actor.actorName}">
+        <js:beads>
+            <mdl:ListItemPrimaryContent/>
+        </js:beads>
+    </js:Span>
       
 </mdl:ListItemRenderer>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4757492/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml
b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml
index e460014..79eb40c 100644
--- a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomListItemRenderer.mxml
@@ -38,7 +38,11 @@ limitations under the License.
         <js:ItemRendererDataBinding />
     </js:beads>
     
-    <mdl:ListItemPrimaryContent text="{data.label}"/>
-      
+    <js:Span text="{data.label}">
+        <js:beads>
+            <mdl:ListItemPrimaryContent/>
+        </js:beads>
+    </js:Span>
+    
 </mdl:ListItemRenderer>
 


Mime
View raw message