MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 743

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 742
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
Vedere la pagina 742
1 2 ... 738 739 740 741 742 743 744 745 746 747 748 ... 758 759

Commenti su questo manuale

Nessun commento