Use Null Layout
to design forms without any layout manager at all.
Using Null Layout has the same strengths and limitations as using AbsoluteLayout. It is useful for making quick prototypes but not recommended for production applications, as the fixed locations and sizes of components do not change when the environment changes. If you use Null Layout to design a production application, consider switching the layout manager to GridBagLayout and then fine-tuning it before you distribute the application.
If you use Null Layout, you should programmatically set the size of the container component. Otherwise, the container is initially displayed at a minimum size that does not show the components within it.
One way to establish container size is to set the Form Size Code Generation properties of the form. See Modifying Code Generation for a Form for more information.
See also | |
---|---|
AbsoluteLayout Manager
Setting the Layout Manager |