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:26 UTC
[royale-asjs] 06/10: tour-de-jewel: another refactor on renderer
left
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 57941ef3209a2fc3c5b86d503cc6075404752830
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue May 12 00:01:10 2020 +0200
tour-de-jewel: another refactor on renderer left
---
.../src/main/royale/itemRenderers/SimpleIconListItemRenderer.mxml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/SimpleIconListItemRenderer.mxml b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/SimpleIconListItemRenderer.mxml
index 359edaa..841527c 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/SimpleIconListItemRenderer.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/SimpleIconListItemRenderer.mxml
@@ -36,12 +36,12 @@ limitations under the License.
<j:beads>
<js:ItemRendererDataBinding />
+ <j:HorizontalLayout gap="6" itemsVerticalAlign="itemsCenter"/>
</j:beads>
- <j:HGroup gap="6" itemsVerticalAlign="itemsCenter">
- <js:MaterialIcon text="{iconList.icon}" visible="{iconList.icon != null}"/>
- <j:Label html="{text}"/>
- </j:HGroup>
+ <js:MaterialIcon text="{iconList.icon}" visible="{iconList.icon != null}"/>
+
+ <j:Label html="{text}"/>
</j:ListItemRenderer>