MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guia do Utilizador Página 130

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 256
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 129
130 Create a Constraint-based Layout
These constraints are expressed as follows in the MXML code:
<mx:TextInput y="60" left="90" right="60"/>
4.
In the editor’s Design mode, select the TextArea control in the layout and, in the Flex
Properties view, select the four corner check boxes and specify the following distances to
maintain from the edges:
Left: 90
Right: 60
To p: 90
Bottom: 190
The Layout category in the Flex Properties view for the TextArea control should look as
follows:
5. Select the Button control in the layout and, in the Flex Properties view, click the right and
bottom anchor check boxes, and specify 60 as the distance to maintain from the right edge
and 150 as the distance to maintain from the bottom edge, as follows:
The two check boxes anchor the Button control to the right and bottom edges. With no
anchors to fix the control to the left and top edges, the control moves horizontally or
vertically as the user resizes the application.
Vista de página 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 255 256

Comentários a estes Manuais

Sem comentários