Creating Graphical User Interfaces    

Laying Out GUIs - The Layout Editor

The Layout Editor enables you to select GUI components from a palette and arrange them in a figure window. The component palette contains the GUI components (uicontrol objects) that are available for you to use in your user interface. The layout area becomes the figure window upon activation.

Placing an Object In the Layout Area

Select the type of component you want to place in your GUI by clicking on it in the component palette. The cursor changes to a cross, which you can then use to select the position of the upper-left corner of the control, or you can set the size of the control by clicking in the layout area and then dragging the cursor to the lower-right corner before releasing the mouse button.

Activating the Figure

You can generate a functioning GUI by activating the figure you have designed with the Layout Editor. Activate the figure by selecting the Activate Figure item in the Tools menu or by clicking figure activator in the toolbar.

When you activate a figure, the following occurs:


 GUI Building Tools Layout Editor Context Menus