Tag Archive for 'textalign'

06
Jun

Changing the label text alignment in a FormItem container in Flex

The following example shows how you can set the text alignment on a Flex FormItem container’s label by setting the textAlign and labelStyleName styles.

Full code after the jump.

Continue reading ‘Changing the label text alignment in a FormItem container in Flex’

05
Jun

Aligning headers in a DateChooser control in Flex

The following example shows how you can align the month name and year in a Flex DateChooser control by setting the textAlign and headerStyleName styles.

Full code after the jump.

Continue reading ‘Aligning headers in a DateChooser control in Flex’

03
Jun

Changing the text alignment of a List control in Flex

The following example shows how you can change the text alignment in a Flex List control by setting the textAlign style.

Full code after the jump.

Continue reading ‘Changing the text alignment of a List control in Flex’

21
May

Aligning a label in a Button control in Flex

The following example shows how you can align the text label within a Flex Button control by setting the textAlign style.

Full code after the jump.

Continue reading ‘Aligning a label in a Button control in Flex’

18
May

Setting the text alignment in a NumericStepper control in Flex

The following example shows how you can set the text alignment for a Flex NumericStepper control by setting the textAlign style.

Full code after the jump.

Continue reading ‘Setting the text alignment in a NumericStepper control in Flex’

28
Apr

Aligning the selected date in a DateField control in Flex

The following example shows you how you can align the selected date in the Flex DateField control’s text field by setting the textAlign style.

Full code after the jump.

Continue reading ‘Aligning the selected date in a DateField control in Flex’

08
Mar

Setting the text alignment in a TextArea control in Flex

The following example shows how you can left, center, right, or fully justify a block of text in the Flex TextArea control by setting the textAlign style.

Full code after the jump.

Continue reading ‘Setting the text alignment in a TextArea control in Flex’

18
Jan

Aligning labels in a Flex PopUpButton control’s pop up menu

The following example shows you how you can align the labels in a PopUpButton control’s pop up menu in Flex by setting the popUpStyleName and textAlign styles.

Full code after the jump.

Continue reading ‘Aligning labels in a Flex PopUpButton control’s pop up menu’

07
Jan

Setting the button label text alignment in a Flex ButtonBar control

The following example shows how you can change the text alignment of button labels in a ButtonBar control in Flex by setting the buttonStyleName and textAlign styles.

Full code after the jump.

Continue reading ‘Setting the button label text alignment in a Flex ButtonBar control’

24
Dec

Changing the Flex DateChooser control’s text alignment

The following example shows how you can change the text alignment in the Flex DateChooser control by setting the textAlign style.

Full code after the jump.

Continue reading ‘Changing the Flex DateChooser control’s text alignment’

20
Sep

Changing the text alignment in a Flex ComboBox control

The following example shows how you can change the alignment of text within a ComboBox control.

Full code after the jump.

Continue reading ‘Changing the text alignment in a Flex ComboBox control’

13
Sep

Changing text alignment in an Flex Accordion header

The following example shows how you can use the textAlign style to control the text alignment of a label in an Accordion header.

Full code after the jump.

Continue reading ‘Changing text alignment in an Flex Accordion header’

26
Aug

Changing a Button control’s text alignment and label placement

The following example shows how you can use the Button class’s textAlign style and labelPlacement property to control the text layout in a Button control.

Full code after the jump.

Continue reading ‘Changing a Button control’s text alignment and label placement’