MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Betriebsanweisung Seite 128

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 127
128 Create a Constraint-based Layout
12. Drag the edges of the browser window to make the application bigger and smaller.
The components maintain their position relative to the left and top edges of the window,
but they dont stretch or compress as you resize the browser window. For example, if you
make the window too narrow, the Send button disappears, and the TextInput and
TextArea controls are clipped.
The next step is to set layout constraints for the controls so that they adjust when the user
resizes the application window.
Define the layout constraints
After positioning the components in your layout, you define layout constraints so that the
components adjust when a user resizes the application window.
1. In the MXML editor’s Design mode, select the TextInput control (the text box for the e-
mail address).
NOTE
When content is clipped, Flex automatically provides users with a vertical or
horizontal scrollbar to access the content.
Seitenansicht 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare