Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor updates in list

  • Loading branch information...
commit 022785d6c4d41f59d18364810a1750b3b6282ecb 1 parent 3a0270d
Derrick Grigg authored
View
6 src/SkinMarkupDemo.mxml
@@ -75,8 +75,9 @@ THE SOFTWARE.
</bit101:items>
</bit101:ComboBox>
-
- <bit101:TextArea height="100" width="100" y="340" text="Lorem ipsum"/>
+ <bit101:TextArea height="100" width="100" y="340">
+ <bit101:text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur adipiscing viverra mattis. Nam egestas laoreet massa, a convallis velit commodo eu. Aenean fringilla volutpat lorem, nec euismod nunc aliquam nec. Maecenas cursus libero sit amet metus scelerisque placerat. Duis libero tortor, congue sit amet scelerisque vel, tempus dictum erat. Vestibulum dignissim sodales nunc, eget auctor nunc blandit nec.</bit101:text>
+ </bit101:TextArea>
</comp:Container>
@@ -99,4 +100,5 @@ THE SOFTWARE.
+
</comp:Application>
View
2  src/com/bit101/components/List.as
@@ -37,7 +37,7 @@ package com.bit101.components
import com.dgrigg.utils.Logger;
-
+ [Event(name="select", type="flash.events.Event")]
public class List extends Component
{
View
5 src/com/bit101/components/ListItem.as
@@ -57,7 +57,10 @@ package com.bit101.components
*/
public function ListItem(parent:DisplayObjectContainer=null, xpos:Number=0, ypos:Number=0, data:Object = null)
{
- skinClass = com.dgrigg.minimalcomps.skins.ListItemSkin;
+ if (skinClass == null)
+ {
+ skinClass = com.dgrigg.minimalcomps.skins.ListItemSkin;
+ }
_data = data;
Please sign in to comment.
Something went wrong with that request. Please try again.