1 Reply Latest reply on Jan 3, 2015 9:27 AM by motionman95

    Resizing Extension Panel does not layout Flex controls at all, simply scales stage

    motionman95 Level 1



      I'm having this issue with Extension Panels in Fireworks compiled with the Flex 4 SDK. When the panel is first opened, it has the correct dimensions and controls are laid out correctly. If I resize it at all, it scales itself instead of laying out it's controls to take advantage of the new space. This doesn't seem to occur when using Flex 3's mx:Application, only Flex 4. Any ideas?


      Before Resize:



      After Resize:



      This occurs no matter the Application container control I use - mx:Application, mx:ApplicationWindow, cs:CSXSWindowedApplication, and so on.


      My Application MXML is as follows:


      <?xml version="1.0" encoding="utf-8"?>
        xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:cs="com.adobe.csxs.core.*" xmlns:s="library://ns.adobe.com/flex/spark"
        <!-- Setting width & height are the only way I can get it to show properly when first opened. -->
        width="200" height="200" historyManagementEnabled="false" showStatusBar="false">
        <s:Button label="Click Me" />