User`s guide
11 Lay Out a Programmatic GUI
The following figures illustrate the results with and without system color
matching.
Cross-Platform Compatible Units
Cross-platform compatible GUIs should look correct on computers having
different screen sizes and resolutions. Since the size of a pixel can vary on
different computer dis plays, using the default f igure
Units of pixels does not
produce a GUI that looks the same on all platforms. S etting the figure a nd
components
Units properties appropriately can help to determine how well
the GUI transports to different platforms.
Units and Resize Behavior
The choice of units is also tied to the GUI’s resize behavior. The figure Resize
and Resi zeFcn properties control the resize behavior of your G UI.
Resize determines if you can res ize the figure window with the mouse. The on
setting means you can resize the window, off means you cannot. W h en you
set
Resize to of f, the figure window does not display any resizing controls
to indicate that it cannot be r esi z ed .
11-96