MATLAB Creating Graphical User Interfaces

(Barry) #1
Add Components to the GUIDE Layout Area

2 Click the + sign next to Position. The Property Inspector displays the elements of
the Position property.


3 Type the width and height you want the components to be.


4 Reset the Units property to its previous setting, either characters or
normalized.


NoteTo select multiple components, they must have the same parent. That is, they must
be contained in the same figure, panel, or button group. See “Select Components” on page
6-70 for more information. Setting the Units property to characters (nonresizable
UIs) or normalized (resizable UIs) gives the UI a more consistent appearance across
platforms. See “Cross-Platform Compatible Units” on page 6-121 for more information.

Free download pdf