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 2f3b64f  tourdejewel: example of combo using new itemRenderer var
2f3b64f is described below

commit 2f3b64faa067340030de8a15c93ed3b5182574d5
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Oct 29 18:40:00 2020 +0100

    tourdejewel: example of combo using new itemRenderer var
---
 .../TourDeJewel/src/main/royale/ComboBoxPlayGround.mxml     | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/ComboBoxPlayGround.mxml 
b/examples/jewel/TourDeJewel/src/main/royale/ComboBoxPlayGround.mxml
index 832dc18..3f793ee 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/ComboBoxPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/ComboBoxPlayGround.mxml
@@ -376,6 +376,19 @@ limitations under the License.
                                                        <j:SearchFilter/>
                                                </j:beads>
                                        </j:ComboBox>
+                                       
+                                       <j:Label multiline="true">
+                                               <j:html><![CDATA[<p>This is 
configured in the instance using <pre style="font-size: 
0.8em">itemRenderer="itemRenderers.SimpleIconListItemRenderer"</pre></p>]]></j:html>
+                                       </j:Label>
+                                       
+                                       <j:ComboBox 
itemRenderer="itemRenderers.SimpleIconListItemRenderer" labelField="label"
+                                                               
dataProvider="{listModel.avengers}">
+                                               <j:beads>
+                                                       
<j:ComboBoxPresentationModel rowCount="4" rowHeight="52"/>
+                                                       <j:ComboBoxTextPrompt 
prompt="Icons and Text..."/>
+                                                       <j:SearchFilter/>
+                                               </j:beads>
+                                       </j:ComboBox>
 
                                </j:CardPrimaryContent>
                        </j:Card>

Reply via email to