Specifications
289ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
Menu control’s
horizontalGap property
The default value of the
horizontalGap prop-
erty for Menu controls is 0. If a Menu has a
RadioButton control and an icon, the two
overlap.
The default value of the horizontalGap property is
6. Additional space is added for a RadioButton or
CheckBox, but not for icons in a MenuItem control.
ScrollBar layout The width of a ScrollBar was determined by the
up arrow skin’s width.
The width of a ScrollBar component is the largest
width among the up arrow, down arrow, track, and
thumb skins.
Disabled ScrollBars There is no separate skin for the buttons on a
disabled ScrollBar.
ScrollArrowSkin has a disabled state. The scroll track
was changed from a DisplayObject to a Button. The
ScrollTrackSkin now supports Button states.
ScrollBar subcomponent
alignment
The up arrow, down arrow, track, and thumb are
left-aligned.
The up arrow, down arrow, track, and thumb are
center-aligned.
ScrollBar thumb width The thumb width is the width of the ScrollBar. The thumb width is the same as the thumb’s
measuredWidth property.
Padding styles with the Canvas
container
Padding styles have no effect on the Canvas
container.
Canvas respects padding styles.
Constraint-based layout rules
for content-sized containers
Width is ignored when left and right styles are set
for components in containers where no width is
set. In these cases, the
preferredWidth prop-
erty of a component is used. Height is ignored
when top and bottom styles are set for compo-
nents in containers where no height is set. In
these cases, the
preferredHeight property of
a component is used.
In the following example, the Button control is 40
pixels wide:
<mx:Canvas id="mycanvas">
<mx:Button left="50" right="50"
width="100" id="b"/>
</mx:Canvas>
Width and height are honored for components with
constraints set in content-sized containers. In the
previous example, the Button control’s width is 100
pixels.
FormItem padding FormItem controls add unnecessary extra
padding underneath the controls when there is
more than one control.
No extra padding is allocated underneath a FormItem
control.
Scale-9 for Panel containers The Panel container’s skin uses the HaloBorder
class.
The Panel container’s skin uses the PanelSkin class.
Some measurement logic was removed from the
Panel class and put into the PanelSkin class.
Difference Behavior in SDK 2.0.1 Behavior in SDK 3










