MATLAB Creating Graphical User Interfaces

(Barry) #1

10 Lay Out a Programmatic UI


Align Components Vertically While Distributing Them Horizontally

The following statement moves the push buttons to the bottom of their bounding box. It
also adjusts their horizontal placement to create a fixed distance of five points between
the boxes. The push buttons appear at the bottom of the original bounding box.

align([b1 b2 b3],'Fixed',5,'Bottom');
Free download pdf