Category Archives: Panel (Spark)

Setting the background color of a Spark Panel container in Flex 4

In a previous example, “Setting the content background color of a Spark Panel container in Flex 4”, we saw how you could set the content background color on a Spark Panel container’s children in Flex 4 by setting the contentBackgroundColor style.

The following example shows how you can set the background color on a Spark Panel container in Flex 4 by setting the backgroundColor style.

Continue reading Setting the background color of a Spark Panel container in Flex 4

Setting the alpha on a Spark Panel container title bar in Flex 4

The following example shows how you can create a Spark Panel container with a semi-transparent title bar in Flex 4 by creating a custom Spark Panel skin and setting the alpha property on the tbFill, tbHilite, and tbDiv skin parts, and then setting the backgroundAlpha style on the Panel container.

Continue reading Setting the alpha on a Spark Panel container title bar in Flex 4