Creating Graphical User Interfaces Previous page   Next Page

Align the Components

You can use the Alignment Tool to align components with respect to one another if they have the same parent. For example, to align the three push buttons:

  1. Select all three push buttons by pressing Ctrl and clicking them.
  2. Select Align Objects from the Tools menu to display the Alignment Tool.
  3. Make the following settings in the Alignment Tool, as shown in the following figure:
  4. Click OK.

Beginning the alignment of three push buttons

Now align the tops of the axes and the panel. Note that when the panel moves, its contents move with it.

To learn more about the Layout Editor, see Using the Layout Editor


Previous page  Add the Components Setting Properties for GUI Components Next page

© 1994-2005 The MathWorks, Inc.