Last active
December 7, 2017 20:38
-
-
Save olafkrueger/e7901afecafa934daf03353b93e813d8 to your computer and use it in GitHub Desktop.
Apache Royale List Snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:js="library://ns.apache.org/royale/basic" | |
xmlns:local="*" | |
pageTitle="HelloWorld"> | |
<js:valuesImpl> | |
<js:SimpleCSSValuesImpl /> | |
</js:valuesImpl> | |
<js:initialView> | |
<js:View width="100%" height="100%"> | |
<js:List labelField="label"> | |
<js:beads> | |
<js:VerticalLayoutWithPaddingAndGap gap="10" | |
paddingTop="10" paddingRight="10" paddingBottom="10" paddingLeft="10"/> | |
</js:beads> | |
<js:dataProvider> | |
<fx:Array> | |
<fx:Object label="One"/> | |
<fx:Object label="Two"/> | |
<fx:Object label="Three"/> | |
<fx:Object label="Four"/> | |
<fx:Object label="Five"/> | |
</fx:Array> | |
</js:dataProvider> | |
</js:List> | |
</js:View> | |
</js:initialView> | |
</js:Application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment