Creating Graphical User Interfaces | ![]() ![]() |
Certain types of GUIs are typically nonresizable. Warning and simple question dialog boxes, particularly modal windows, are usually not resizable. After a simple interaction, these GUIs are dismissed so changing their size is not worthwhile.
Property Settings
GUIDE sets the following properties to implement this style of GUI:
Units
properties of the figure, axes, and uicontrols should be set to characters
(the Layout Editor default) so the GUI displays at the correct size at runtime. Resize
figure property set to off
.ResizeFcn
figure property does not require a callback routine.![]() | Resize Behavior | Allowing Proportional GUI Resizing | ![]() |