Category Archives: AccordionHeader

Setting the border color on the MX Accordion container headers in Flex

In a previous example, “Setting the border style on the MX Accordion container in Flex”, we saw how you could set the border style on an MX Accordion container in Flex 3 by setting the borderStyle style.

The following example shows how you can set the border color on an MX Accordion container headers in Flex 3 by setting the borderColor style on the Accordion container’s headerStyleName style selector.

Continue reading Setting the border color on the MX Accordion container headers in Flex

Indenting Flex Accordion header labels

A recent comment asked how you can indent the Accordion header text as setting the paddingLeft style wasn’t working as expected for them. Well, as it turns out, you need to set the paddingLeft style directly on the AccordionHeader style (Flex 2 and 3) or create a new style with paddingLeft style specified and use the headerStyleName style (Flex 3 only).

Full code after the jump.

Continue reading Indenting Flex Accordion header labels