Creating Graphical User Interfaces |
Set the GUI Figure Size
Specify the size of the GUI by resizing the grid area in the Layout Editor. Click on the lower-right corner and resize the grid until it is about 4-by-3 inches.
If you want to set the position or size of the GUI to an exact value, do the following:
Units
and then select inches
from the pop-up menu
Position
.
x
and y
coordinates of the point where you want the lower left corner of the GUI to appear, and its width and height, as shown in the following figure.
Units
property to characters
.
Note
Setting the Units property to characters gives the GUI a more consistent appearance across platforms.
|
Open a New GUI in the Layout Editor | Add the Components |
© 1994-2005 The MathWorks, Inc.