Return to table of contents
Which line(s) in the code determines the size of the application?
This seemingly simple question did take me some time. The answer lines in the following two lines:
// in ApplicationUI.mxml <mx:vbox id="contentBox" minwidth="310" minheight="70">
// in MainContentContainer.mxml <mx:canvas width="290">
To really see the effect of changing these values, you need to change the width and height in employeedirectory.mxml. I changed them to 640×800.
// in employeedirectory.mxml <mx:application height="800" width="640" x="100" y="50">
<transparent>false</transparent>