1 Reply Latest reply on Jun 7, 2011 7:44 AM by Flex harUI

    Strange behavior with RichEditableText

    Vlad Qwerty

      Hi

      I am trying to create resizable RichEditableText with horizontal and vertical scroller (in Flex using Flash Builder 4.5).

      The problem is that RichEditableText container is not displayed at all if i use lineBreak="explicit"

       

      So the following code doesn't work:

       

      <s:SkinnableContainer width="100%" height="100%">

      <s:Scroller width="100%" height="100%" >

      <s:RichEditableText

      backgroundColor="0x900000"

      id='_text'

      color="0x000000"

      width="100%"

      height="100%"

      minHeight="0"

      text="Hellooooo"

      lineBreak="explicit"/>

      </s:Scroller>

      </s:SkinnableContainer>


      But if i remove lineBreak="explicit" it is displayed as expected except that horizontal scroll is not working.



      How do i create resizable RichEditableText with both horizontal and vertical scrollers enabled ?