Setting the icon placement on a Spark Button control in Flex Hero

By Peter deHaan On December 18, 2010 · 20 Comments

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 [...]

Continue Reading

Setting an icon on a Spark Button in Flex Hero

By Peter deHaan On December 17, 2010 · 7 Comments

The following example shows how you can set the icon on a Spark Button in Flex Hero by setting the icon style.

 

Continue Reading

Setting a fixed button width on a Spark ButtonBar control in Flex 4

By Peter deHaan On December 10, 2010 · 7 Comments

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.

Continue Reading

Changing the label placement on an MX TabBar control in Flex

By Peter deHaan On November 9, 2010 · 4 Comments

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 [...]

Continue Reading

Changing the label placement on an MX ButtonBar control in Flex (redux)

By Peter deHaan On November 9, 2010 · 1 Comment

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 [...]

Continue Reading

Setting a custom icon on the MX Button control in Flex

By Peter deHaan On November 8, 2010 · 1 Comment

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.

 

Continue Reading

Adding scroll bars to an Spark Application container in Flex 4

By Peter deHaan On November 3, 2010 · 10 Comments

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.

Continue Reading

Clearing a style on the Spark Button control in Flex 4

By Peter deHaan On October 27, 2010 · 3 Comments

The following example shows how you can clear a style on the Spark Button control in Flex 4 by using the clearStyle() method.

 

Continue Reading

Setting multiple style names on a Spark Button control in Flex 4

By Peter deHaan On October 27, 2010 · 5 Comments

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.

Continue Reading

Setting a background fill on an invalid Spark Image control in Flex Hero

By Peter deHaan On October 25, 2010 · Leave a Comment

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 [...]

Continue Reading

Setting the background color on an invalid Spark Image control in Flex Hero

By Peter deHaan On October 25, 2010 · Leave a Comment

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 [...]

Continue Reading

Setting the background color on a Spark Image control in Flex Hero

By Peter deHaan On October 25, 2010 · Leave a Comment

The following example shows how you can set the background color on a Spark Image control in Flex Hero by setting the backgroundColor style.

 

Continue Reading
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.