Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-16807

Text component with % width displays incorrectly when in FormItem

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: Form View, mx: Text
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a Form
      2. Add a FormItem
      3. Add a Text component into that FormItem and give the Text component a percent width.
      4. Add enough text to the Text component so it would require it to wrap to multiple lines.

      Actual Results:
      FormItems after the Text component get pushed down as if room is being preserved for the wrapping text inside the Text component. However, only the first line of the text is shown leaving a large area of empty space below. Highlighting and dragging to select the text causes the text inside the Text component to scroll indicating that the text is in fact there. Giving the Text an actual pixel width seems to work. See attached Bug.mxml

      Expected Results:
      The text should be displayed correctly wrapping to additional lines.

      Workaround (if any):
      1. Give the text an actual pixel width or
      2. Wrapping the Text component with a Canvas seems to work. See attached Workaround.mxml

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            adobejira Adobe JIRA

            Dates

              Created:
              Updated:

              Slack

                Issue deployment