This content has been marked as final.
Show 3 replies
-
1. Re: Flex 4 Spark Textarea without border
Flex harUI Jul 20, 2010 10:03 AM (in response to Paul_Kuhn)Did you get a warning about the borderVisible? It might not work in the
theme you are using and you'll need to create a custom skin.
The color style should change the font color.
color="#ff0000"
-
2. Re: Flex 4 Spark Textarea without border
Peter deHaan Jul 21, 2010 5:32 PM (in response to Paul_Kuhn)This works for me in Flex 4.1 and the latest internal builds:
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> <s:layout> <s:VerticalLayout paddingLeft="20" paddingTop="20" /> </s:layout> <s:controlBarContent> <s:CheckBox id="ch" label="borderVisible" selected="false" change="ta.setStyle('borderVisible', ch.selected);" /> <s:Label id="sdkVer" fontWeight="bold" initialize="sdkVer.text = mx_internal::VERSION;" /> <s:Label text="{Capabilities.version}" /> </s:controlBarContent> <s:TextArea id="ta" text="The quick brown fox jumps over the lazy cat." borderVisible="false" color="red"/> </s:Application>
Peter -
3. Re: Flex 4 Spark Textarea without border
Paul_Kuhn Jul 22, 2010 3:40 AM (in response to Peter deHaan)Thanks to all for the answers. Yes it works fine and the border is not displayed!
I had a default CSS with a skinClass to a TextAreaSkin which included a border... This was my mistake here.
Thanks again!
Paul




