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 2832d89  blog-examples: some updates to code
2832d89 is described below

commit 2832d892eba8271ad382ace260194189031752bc
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Aug 11 12:40:39 2020 +0200

    blog-examples: some updates to code
---
 .../src/main/royale/BE0009_Using_an_Item_Renderer_with_a_List.mxml    | 2 +-
 .../src/main/royale/itemRenderers/IconListItemRenderer.mxml           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/BE0009_Using_an_Item_Renderer_with_a_List.mxml
 b/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/BE0009_Using_an_Item_Renderer_with_a_List.mxml
index fd56b14..b87690c 100644
--- a/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/BE0009_Using_an_Item_Renderer_with_a_List.mxml
   
+++ b/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/BE0009_Using_an_Item_Renderer_with_a_List.mxml
   
@@ -47,7 +47,7 @@
                 <j:VerticalCenteredLayout/>
             </j:beads>
 
-            <j:Card width="320">
+            <j:Card width="340">
                 <j:CardHeader>
                     <html:H3 text="Jewel List With ItemRenderer" 
className="primary-normal"/>
                 </j:CardHeader>
diff --git a/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/itemRenderers/IconListItemRenderer.mxml 
b/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/itemRenderers/IconListItemRenderer.mxml
index 736b997..8ebc2df 100644
--- a/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/itemRenderers/IconListItemRenderer.mxml  
+++ b/examples/blog/BE0009_Using_an_Item_ 
Renderer_with_a_List/src/main/royale/itemRenderers/IconListItemRenderer.mxml  
@@ -20,8 +20,7 @@ limitations under the License.
 <j:ListItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009";
                     xmlns:j="library://ns.apache.org/royale/jewel"
                     xmlns:js="library://ns.apache.org/royale/basic"
-                    xmlns:html="library://ns.apache.org/royale/html"
-                    xmlns="http://www.w3.org/1999/xhtml";>
+                    xmlns:html="library://ns.apache.org/royale/html">
 
     <fx:Script>
                <![CDATA[
@@ -37,6 +36,7 @@ limitations under the License.
 
     <j:beads>
         <js:ItemRendererDataBinding />
+        <j:HorizontalLayout gap="3" itemsVerticalAlign="itemsCenter"/>
     </j:beads>
     
     <js:MaterialIcon text="{iconList ? iconList.icon : ''}" visible="{iconList 
? iconList.icon != null : false}"/>

Reply via email to