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/05/13 14:50:23 UTC

[royale-asjs] 03/10: table style: needs more work

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

commit b9a1c8603b2b7dbc54d1f6a96fae109526d241a8
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu May 7 11:16:04 2020 +0200

    table style: needs more work
---
 .../royale/itemRenderers/TableStyleListItemRenderer.mxml  | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/TableStyleListItemRenderer.mxml b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/TableStyleListItemRenderer.mxml
index b164048..49c6d7f 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/TableStyleListItemRenderer.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/TableStyleListItemRenderer.mxml
@@ -20,17 +20,20 @@ limitations under the License.
 <ir:IconListItemRenderer 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:ir="itemRenderers.*">
+    xmlns:ir="itemRenderers.*"
+    width="100%">
 
     <ir:beads>
         <js:ItemRendererDataBinding />
         <j:HorizontalLayout/>
     </ir:beads>
 
-    <js:MaterialIcon text="{iconList ? iconList.icon : ''}"  visible="{iconList ? iconList.icon != null : false}" click="clickCloseButton()" width="100"/>
-    <j:Label html="{text}" multiline="true" width="300"/>
-    <j:Label html="Third field" multiline="true" width="100"/>
-    <j:Label html="Fourth field" multiline="true" width="200"/>
-
+    <!-- <j:HGroup itemsVerticalAlign="itemsCenter"> -->
+        <js:MaterialIcon text="{iconList ? iconList.icon : ''}"  visible="{iconList ? iconList.icon != null : false}" click="clickCloseButton()" width="100"/>
+        <j:Label html="{text}" multiline="true" width="300"/>
+        <j:Label html="Third field" multiline="true" width="100"/>
+        <j:Label html="Fourth field" multiline="true" width="200"/>
+    <!-- </j:HGroup> -->
+    
 </ir:IconListItemRenderer>