MATLAB Creating Graphical User Interfaces

(ff) #1

All of the align options (vertical top, center, bottom and horizontal left, center, right) place
the selected components with respect to the corresponding edge (or center) of this
bounding box.


Distribute Options


Distributing components adds equal space between all components in the selected group.
The distribute options operate in two different modes:



  • Default behavior — MATLAB distributes space equally among components within the
    bounding box.

  • Select the Set spacing check box — You specify the number of pixels between each
    component.


Both modes enable you to specify how the spacing is measured, as indicated by the button
labels on the alignment tool. These options include spacing measured with respect to the
following edges:



  • Vertical — inner, top, center, and bottom

  • Horizontal — inner, left, center, and right


Align GUIDE UI Components
Free download pdf