MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 132

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 131
6 Laying Out a GUI
6-42
from left, distance from bottom, height, width]. The values are given in the
units specified by the
Units property of the component.
1 Select the components you want to align. See “Selecting Components” on
page 6-31 for information.
2 Select Property Inspector from the View menu or by clicking the Property
Inspector icon .
3 In the Property Inspector, scroll to the Units property and note its current
setting, then change the setting to
inches.
4 Scroll to the Position property. A null value means that the element differs
in value for the different components. This figure shows the
Position
property for multiple components of the same size.
5 Change the value of x to align their left sides. Change the value of y to align
their bottom edges. For example, setting
x to 2.0 aligns the left sides of the
components 2 inches from the left side of the GUI.
6 When the components are aligned, change the Units property back to its
original setting.
Grid and Rulers
The layout area displays a grid and rulers to facilitate component layout. Grid
lines are spaced at 50-pixel intervals by default and you can select from a
number of other values ranging from 10 to 200 pixels. You can optionally
enable snap-to-grid, which causes any object that is moved or resized to within
9 pixels of a grid line to jump to that line. Snap-to-grid works with or without
a visible grid.
Vue de la page 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 329 330

Commentaires sur ces manuels

Pas de commentaire