From the daily archives:

Sunday, October 12, 2008

In a previous example, “Aligning the header text in a DataGrid column in Flex”, we saw how you could set the text alignment on a Flex DataGrid control’s DataGridColumn by setting the headerStyleName and textAlign styles.

The following example shows a few more methods of aligning data and headers in a DataGrid and individual DataGrid columns by setting a combination of the headerStyleName and textAlign styles on the DataGrid and DataGridColumn instances.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can align the label placement and text alignment on a Flex ProgressBar control by setting the labelPlacement property, and the textAlign and labelWidth styles.

Full code after the jump.

[click to continue…]

{ 0 comments }