Hi Warren,

about Jewel ComboBox let's start trying to get the combo loaded with data.
The following code should work for you to get the data you need with just 3
rows showing.

I check that rowHeight is having the same problem as in the jewel list. I
must exit now so I'll be looking at it tomorrow since for sure there is
another bug that we need to solve.

For now concentrate on getting this code working, that should be very
straightforward.

Thanks

<j:Application 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:vos="vos.*">
<fx:Script>
<![CDATA[
import org.apache.royale.collections.ArrayList;

[Bindable]
private var loadStatusList:ArrayList = new ArrayList(['ALL','COMPLETED',
'NOTIFIED','ERROR', 'LOAD']);
]]>
</fx:Script>

<j:beads>
<js:ApplicationDataBinding/>
</j:beads>

<j:initialView>
<j:View>
<j:beads>
<js:Paddings padding="30"/>
<j:VerticalLayout gap="3"/>
</j:beads>
<html:H3 text="ComboBox Search"/>
<j:Label multiline="true">
<j:html><![CDATA[<p>This <b>ComboBox</b> uses a <b>SearchFilter</b> bead to
perform a local search in the <i>dataProvider</i>. The filter is decorated,
and can be configured.</p>]]></j:html>
</j:Label>

<j:ComboBox labelField="label" dataProvider="{loadStatusList}">
<j:beads>
<j:ComboBoxPresentationModel rowCount="3"/>
<j:ComboBoxTextPrompt prompt="OPTIONS..."/>
</j:beads>
</j:ComboBox>
</j:View>
</j:initialView>

</j:Application>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira

Reply via email to