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’
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’
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’
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’
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’
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’
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’
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’
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’
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’
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’
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’