User`s guide
5 GUIDE Preferences and Options
The follo
wing sectio ns describe the options in this dialog bo x:
Resize B
ehavior
You can
control w hether users can resize the figure window containing your
GUI and
how MATL AB software handles resizing. GUIDE provides three
option
s:
• Non-r
esizable — Users cannot change the window size (default).
• Propo
rtional — The software automatically rescales the components in
the G
UI in proportion to the new figure window size.
• Othe
r (Use ResizeFcn) — P rogram the GUI to behave in a certain w ay
when
users resize the figure window.
The
first two options set figure and component properties appropriately and
req
uire no other action. Other (Use ResizeFcn) requires you to write a
cal
lback routine that recalculates sizes and positions of the components based
on t
he new figure size. For a discussion and examples of using a
ResizeFcn,
5-10