Posts tagged as:

popUpWidthMatchesAnchorWidth

The following example shows how you can create a simple image gallery using the Spark PopUpAnchor control in Flex 4 using the PopUpAnchor, BitmapImage, and MX Image controls.

[click to continue…]

{ 0 comments }

In a previous example, “Setting the width of the dropdown menu on a ComboBox control in Flex”, we saw how you could set the width of the dropdown menu on a Flex MX ComboBox control by setting the dropdownWidth property.

The following example shows how you can change the width of the Spark DropDownList control’s pop up menu so the pop up menu width matches the contents rather than the DropDownMenu button control’s width by setting the Boolean popUpWidthMatchesAnchorWidth property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can create a Spark DropDownList with a tile layout in Flex 4 by setting the layout property to a TileList object.

Full code after the jump.

[click to continue…]

{ 4 comments }

The following example shows how you can set the drop down menu width on a Spark DropDownList control by setting the width property within a custom DropDownList skin.

Full code after the jump.

[click to continue…]

{ 0 comments }