MATLAB Creating Graphical User Interfaces

(Barry) #1
Align GUIDE UI Components

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:



  • Equally space selected components within the bounding box (default)

  • Space selected components to a specified value in pixels (check Set spacing and
    specify a pixel value)


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

Free download pdf