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 b060cbd minor fixes to example
b060cbd is described below
commit b060cbd9eb5e31932fe06cd35d4a72c86a6c6761
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Aug 28 14:31:51 2018 +0200
minor fixes to example
---
examples/royale/JewelExample/src/main/royale/ListPlayGround.mxml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/royale/JewelExample/src/main/royale/ListPlayGround.mxml
b/examples/royale/JewelExample/src/main/royale/ListPlayGround.mxml
index e54a52f..25def76 100644
--- a/examples/royale/JewelExample/src/main/royale/ListPlayGround.mxml
+++ b/examples/royale/JewelExample/src/main/royale/ListPlayGround.mxml
@@ -111,7 +111,7 @@ limitations under the License.
</j:HGroup>
<j:HGroup gap="3"
itemsVerticalAlign="itemsCentered">
<j:Label text="Select list by item: "/>
- <j:NumericStepper
valueChange="list.selectedItem = simple.getItemAt(event.target.value)"
minimum="0" maximum="11"/>
+ <j:NumericStepper
valueChange="list.selectedItem =
list.dataProvider.getItemAt(event.target.value)" minimum="0" maximum="11"/>
</j:HGroup>
<j:Button text="Assign new data"
click="assignNewData()"/>
</j:Card>
@@ -151,8 +151,8 @@ limitations under the License.
tabletNumerator="1"
tabletDenominator="2"
phoneNumerator="1" phoneDenominator="1">
<j:Card>
- <html:H3 text="Jewel DataContainer"/>
- <j:DataContainer width="450">
+ <html:H3 text="Jewel DataContainer (with Flow
Layout)"/>
+ <j:DataContainer>
<j:beads>
<j:HorizontalFlowLayout
gap="3"/>
<js:ConstantBinding