User`s guide

Icon Editor
if strcmpi(get( topC ontainer, 'Resize') ,'on ')
set(allObjects(isprop(allObjects,'Unit s')),...
'Units','Normalized');
else
set(allObjects(isprop(allObjects,'Unit s')),...
'Units','Characters');
end
Note T he iconEditor is resizable because it accepts the default value, on,of
the figure
Resize property.
Resizable Figure. Normalized units map the lower-left corner of the figure
and of each component to (0,0) and the upper-right corner to (1.0,1.0). Because
of this, when the GUI is resized, component size is automatically changed
relative its parent’s size.
Nonresizable Figure. Character units automatically adjusts the size and
relative spacing of components as the GUI displays on different computers.
Character units are defined by characters from the default system font. The
width of a character unit equals the width of the letter
x in the system font.
The height of a character unit is the distance between the baselines of two
lines of text. Note that character units are not square.
15-79