Created
November 25, 2010 00:07
-
-
Save davidortinau/714672 to your computer and use it in GitHub Desktop.
scroller content with TextArea. TextArea touch can scroll the Scroller and not steal focus.
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
<s:Scroller width="100%" height="100%"> | |
<s:VGroup width="100%" paddingTop="20" paddingLeft="20" paddingRight="20" paddingBottom="20" gap="20"> | |
<s:Group width="100%"> | |
<s:Rect width="100%" height="100%" radiusX="8" radiusY="8"> | |
<s:fill> | |
<s:SolidColor color="#F1F0E6"/> | |
</s:fill> | |
</s:Rect> | |
<s:VGroup width="100%" paddingTop="20" paddingLeft="20" paddingRight="20" paddingBottom="20" gap="20"> | |
<s:Label styleName="paperTitle" text="{data.title}" width="100%"/> | |
<s:Label styleName="paperDescription" text="{data.description}" width="100%"/> | |
</s:VGroup> | |
</s:Group> | |
<mx:Spacer height="5"/> | |
<s:TextArea id="referencesTextTA" fontSize="24" | |
text="This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area This is my text area " heightInLines="20" | |
mouseEnabled="false" paragraphSpaceAfter="20" | |
mouseChildren="false" | |
width="100%" /> | |
<s:RichText id="referencesText" fontSize="24" | |
textFlow="{TextConverter.importToFlow(paperModel.selectedPaper.referencesContent, TextConverter.TEXT_FIELD_HTML_FORMAT)}" | |
mouseEnabled="false" paragraphSpaceAfter="20" | |
mouseChildren="false" | |
width="100%" /> | |
</s:VGroup> | |
</s:Scroller> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment