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

Layout Direction Right to Left Produce many bugs

    XMLWordPrintableJSON

Details

    Description

      When set layoutDirection="rtl" direction="rtl" to container like VGroup it produce these bugs
      look at embed sample

      1. TextInput Keyboard.BACK key can't delete the last char
      2. CalloutButton position is wrong
      3. DataGrid Editable cell size
      4. Resize Last column send this Error

      RangeError: Error #1125: The index -1 is out of range 3.
      at spark.components.gridClasses::GridDimensions/getColumnWidth()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\gridClasses\GridDimensions.as:618]
      at spark.components::Grid/getColumnWidth()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Grid.as:3961]
      at spark.components::DataGrid/separator_mouseDownHandler()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\DataGrid.as:5857]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:13688]
      at spark.components::GridColumnHeaderGroup/dispatchGridEvent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\GridColumnHeaderGroup.as:1304]
      at spark.components::GridColumnHeaderGroup/gchg_mouseDownDragUpHandler()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\GridColumnHeaderGroup.as:1134]
      at Function/<anonymous>()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\utils\MouseEventUtil.as:92]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:13688]
      at mx.managers::SystemManager/mouseEventHandler()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2926]

      Attachments

        1. Arabic_Train.mxml
          3 kB
          Rais ImadEddine

        Activity

          People

            Unassigned Unassigned
            ImadEddine Rais ImadEddine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: