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

Spark Slider and ScrollBar should be renamed to SliderBase and ScrollBarBase

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Slider
    • None
    • Language Found: English

    Description

      Found in 4.0.0.12121

      Steps to reproduce:
      1. http://river.corp.adobe.com:81/flex_gumbo_newcompiler_standalone/standalone/langref/spark/components/supportClasses/ScrollBar.html
      2. http://river.corp.adobe.com:81/flex_gumbo_newcompiler_standalone/standalone/langref/spark/components/supportClasses/Slider.html

      Code hinting brings up s:Slider in Builder, but you get RTEs when trying to use the class, since Slider is a base class and you're supposed to use HSlider and VSlider instead. I believe we should rename "Slider" to "SliderBase" (and similarly ScrollBar to ScrollBarBase).

      Actual Results:
      People try and use <s:Slider/> in their apps and get RTEs.

      Expected Results:
      People see <s:ScrollBarBase/> in code hinting and notice that it probably isnt the correct end-user class.

      Workaround (if any):
      n/a

      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: