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

FormItem style text-align:left does not work anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • mx: Form View
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Create this main MXML:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

      <mx:Style>
      FormItem

      { text-align: left; }

      </mx:Style>

      <mx:Form>
      <mx:FormItem label="First Label">
      <mx:TextInput />
      </mx:FormItem>
      <mx:FormItem label="Another Label">
      <mx:TextInput />
      </mx:FormItem>
      </mx:Form>

      </mx:Application>

      2. Compile & Lauch

      Actual Results: FormItem labels are aligned right

      Expected Results: FormItem labels are aligned left

      Comment: This worked in the previous releases but has seemed to change lately

      Workaround (if any):
      Apply styles to the FormItemLabel class, not FormItem.

      <mx:Style>
      FormItemLabel

      { text-align: left; }


      </mx:Style>

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: