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

Spark Window doesnt code hint systemChrome property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • Spark: Window
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in 4.1.0.14607. THis may also occur in the older mx:Window class as well.

      Steps to reproduce:
      1. Copy and paste the following code into a new Spark+AIR app:

      <?xml version="1.0" encoding="utf-8"?>
      <s:Window xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      width="400" height="300"
      systemChrome=""
      skinClass="spark.skins.spark.SparkChromeWindowedApplicationSkin">
      <s:layout>
      <s:VerticalLayout />
      </s:layout>

      <s:TextInput id="ti" initialize="ti.text = mx_internal::VERSION;" />

      </s:Window>

      2. Try and get code hints for systemChrome

      Actual Results:
      No hints.

      Expected Results:
      Hints, specifically "standard" and "none".

      Workaround (if any):
      Look up static constants in LangRef. According to s:Window::systemChrome:

      "Specifies the type of system chrome (if any) the window has. The set of possible values is defined by the constants in the NativeWindowSystemChrome class."

      And the flash.display.NativeWindowSystemChrome class has the following static constants:

      • NativeWindowSystemChrome.NONE ("none") and,
      • NativeWindowSystemChrome.STANDARD ("standard")

      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: