User`s guide

6 Lay Out a GUIDE GUI
Specify a Fixed-Width Font
If you w ant to use a fixed-width font for a user interface control, set its
FontName property to the string fixedwidth. This special identifier ensures
that your GUI uses the standard fixed-width font for the target platform.
You can find the name of the fixed-w idth font that is used on a given platform
by querying the root
FixedWidthFontName property.
get(0,'FixedWidthFontName')
Use a Specific Font Name
You can specify an actual font name (such as Times or Courier) for the
FontName property. How ever, doing so may cause your GUI to not look as
you intended when run on a different com puter. If the target computer does
not have the specified font, it will substitute another font that may not look
good in your GUI or may not be the standard font used for GUIs on that
system. Also, different versions of the same named font m ay have different
size requirements for a given set of characters.
Standard Background Color
The default component background color is the standard system background
color on which the G UI is running. This color varies on different computer
systems, e.g., the standard shade of gray on the PC differs from that on UNIX
system, and may not match the default GUI background color.
If you use the default component background color, you can use that same
color as the background color for y our G U I. This provides a co n siste nt look
with respect to your GU I and other application GUIs. To do this in G UID E,
check Options > Use system color scheme for background on the Layout
Editor Tools menu.
Note This option is available only if you first select the Generate FIG-file
and MATLAB File option.
6-138