Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts

    Question Image to float inside a Flex text area

    As far as I am aware, it is not possible to get an image to float inside a Flex textArea by applying css to htmlText code.

    What do you think?


  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    New York
    Posts
    152
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by nikos101 View Post
    As far as I am aware, it is not possible to get an image to float inside a Flex textArea by applying css to htmlText code.

    What do you think?
    "Float" inside? Just overlay the image by using the Image component and place it over the TextArea component. If it needs to be placed a bit more dynamically, use the Constraints to bind it to the sides of the container.

  • #3
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    Yes but the image must interact with the text


  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    New York
    Posts
    152
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by nikos101 View Post
    Yes but the image must interact with the text
    In what way? It's easier to receive help if you fully describe the context of your situation.

  • #5
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    it must displace text next to it in the textarea. Like how it works in html and css


  • #6
    Regular Coder
    Join Date
    Aug 2002
    Location
    New York
    Posts
    152
    Thanks
    12
    Thanked 0 Times in 0 Posts
    http://livedocs.adobe.com/flex/201/h...10.html#437591

    You can use htmlText's <img> tag, which will displace the text around it.

  • #7
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    Yes I know but I want to apply style to the img to float it as in the OP



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •