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

The text of the Alert.CANCEL button is truncated when localized to French, German, or Japanese.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 2.0.1 (Release)
    • None
    • mx: Alert
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Browser: Internet Explorer 6.x
      Language Found: Japanese

    Description

      Steps to reproduce:

      1. Download attached bug.mxml file.
      2. Change the '-locale' compile argument from 'en_US' to 'ja_JP'
      3. Build the Flex application and display it in the browser,
      4. Click the Button control to launch the Alert.

      Actual Results:
      The japanese text in the cancel button is truncated and has an ellipsis appended to the end of it. (see bug.jpg)

      Expected Results:
      The japanese string is completely visible and is not truncated. (see workaround.jpg)

      Workaround (if any):
      A. Set the button width for the Alert buttons so that the labels aren't truncated:
      Alert.buttonWidth = 80;

      B. Create a kludge to resize the button on the fly in your application. You must also remember to revert the sizing once the alert has been dismissed.

      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: