flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmalle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34843) A simple Alert does not layout using minimum sizes of children
Date Sun, 17 May 2015 21:29:59 GMT
Michael Schmalle created FLEX-34843:
---------------------------------------

             Summary: A simple Alert does not layout using minimum sizes of children
                 Key: FLEX-34843
                 URL: https://issues.apache.org/jira/browse/FLEX-34843
             Project: Apache Flex
          Issue Type: Bug
          Components: FlexJS
    Affects Versions: Apache FlexJS 0.0.3
         Environment: Flash SWF
            Reporter: Michael Schmalle


Using a default Alert config, the Alert is not laid out correctly based on it's children.

Expected; Ok and Cancel buttons fit in the panel.

{{
<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:js="library://ns.apache.org/flexjs/basic">

    <fx:Script><![CDATA[
        import org.apache.flex.html.Alert;

        private function onClick():void
        {
            trace("Clicked");
            Alert.show("Hello Alert", this, "Alert title", Alert.OK | Alert.CANCEL);
        }
        ]]></fx:Script>

    <js:TextButton text="Show Alert" click="onClick()"/>

</js:ViewBase>
}}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message