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

Adding padding styles to ActionBar for easier platform-specific styling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Mobile: ActionBar
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Currently, it's not possible to use the iOS-styled buttons (with with appropriate padding) without supplying (1) styleName="ios" and (2) paddingLeft/paddingRight values to the HorizontalLayouts of actionLayout and navigationLayout in ActionBar in MXML or ActionScript.

      If paddings were available as styles in ActionBar (to inset all actionGroup, titleGroup and navigationGroup together), then an iOS-styled application would be possible through CSS only:

      @media (application-dpi: 240) and (os-platform: "IOS")
      {
      s|ActionBar

      { paddingLeft: 15; paddingRight: 15; }

      s|ActionBar #backButton

      { fontSize: 18; skinClass: ClassReference("spark.skins.mobile.NavigationBackButtonSkin"); }

      }

      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: