Learning Employee Directory 3.2 Size

18 sec read

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">

Here is the application of different size:

Receive email notification via email 博客有新内容通知我

Don't want to miss new papers in your field? Check out Stork we developed:

How much money did I make from an app?

Undoubtedly some people are very successful in making money by developing a smartphone app. Back in 2012 I developed an app called “Handbook of...
Xu Cui
27 sec read

Handy programs to visualize NIRS data (2): plotTopoMap

Often you need to view the spatial pattern of activation as in the example below. plotTopoMap allows you to do that. It probably only...
Xu Cui
37 sec read

Flash 3D video demo

Racer Ostrova Zombie
Xu Cui
0 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *