Setting the icon placement on a Spark Button control in Flex Hero
In a previous example, “Setting an icon on a Spark Button in Flex Hero”, we saw how you can set the icon on a Spark Button in Flex Hero by setting the icon style.
The following example shows how you can set the icon placement on a Spark Button control in Flex Hero by [...]
Setting an icon on a Spark Button in Flex Hero
The following example shows how you can set the icon on a Spark Button in Flex Hero by setting the icon style.
Setting a fixed button width on a Spark ButtonBar control in Flex 4
The following example shows how you can set a fixed button width on a Spark ButtonBar control in Flex 4 by creating a custom HorizontalLayout and setting the columnWidth and variableColumnWidth properties.
Changing the label placement on an MX TabBar control in Flex
In a previous example, “Changing the label placement on an MX ButtonBar control in Flex (redux)”, we saw how you could set the label/icon placement on an MX ButtonBar control in Flex by extending the MX ButtonBar class and setting the navItemFactory property in the mx_internal namespace to a custom class.
The following example [...]
Changing the label placement on an MX ButtonBar control in Flex (redux)
In a previous example, “Changing the label placement for a Flex ButtonBar control”, we saw how you could change the button’s label placement relative to its icon in a ButtonBar control in Flex by using the getChildAt() method and labelPlacement property.
The following example shows how you can set the label/icon placement on an [...]
Setting a custom icon on the MX Button control in Flex
The following example shows how you can use the MX TitleWindow container’s close button for an MX Button control icon and skin by setting the skinClass style.
Adding scroll bars to an Spark Application container in Flex 4
The following example shows how you can add scroll bars to a Spark Application container in Flex 4 by creating a custom skin, adding a Spark Scroller container around the contentGroup skin part, and setting the skinClass style on the Application tag.
Clearing a style on the Spark Button control in Flex 4
The following example shows how you can clear a style on the Spark Button control in Flex 4 by using the clearStyle() method.
Setting multiple style names on a Spark Button control in Flex 4
The following example shows how you can define multiple style names on a Spark Button control in Flex 4 by setting the styleName property to a space separated list of CSS style names.
Setting a background fill on an invalid Spark Image control in Flex Hero
In a previous example, “Setting the background color on an invalid Spark Image control in Flex Hero”, we saw how you could set the background color on an invalid Spark Image control in Flex Hero by setting the backgroundColor style on the invalid skin state.
The following example shows how you can create a [...]
Setting the background color on an invalid Spark Image control in Flex Hero
In a previous example, “Setting the background color on a Spark Image control in Flex Hero”, we saw how you could set the background color on a Spark Image control in Flex Hero by setting the backgroundColor style.
The following example shows how you can set the background color on an invalid Spark Image [...]
Setting the background color on a Spark Image control in Flex Hero
The following example shows how you can set the background color on a Spark Image control in Flex Hero by setting the backgroundColor style.