Hi All,

 
It sounds very simple, but (maybe because i'm new to flex 4) when comes to 
practice i got a mess.

 
What i'm trying to do is to create a component that will be 100% height and 
width and create a RichEditableText that will take the whole space of the 
component, but still, when the text height is higher than the component, i 
would like to see the right scroolbar.

 
This is my code, could someone tell me what i did wrong?

 
<?xml version="1.0" encoding="utf-8"?>
<s:SkinnableContainer 
xmlns:fx="http://ns.adobe.com/mxml/2009"; 
xmlns:s="library://ns.adobe.com/flex/spark" 
xmlns:mx="library://ns.adobe.com/flex/halo"
width="100%"
height="100%">

 
<s:Scroller
      width="100%" height="100%" >
            <s:RichEditableText
            backgroundColor="0x900000"
            id='_text'
            color="0x000000"
            width="100%"
            height="100%"
            text="Hellooooo"/>
</s:Scroller>

 
</s:SkinnableContainer>


Reply via email to