Personal tools

Views

Talk:Flex 3:Feature Introductions: Enhanced Constraints

From Adobe Labs

I am exploring the new Enhanced Constraints capabilities in Flex3/Beta-2; I am fining some difficulties / possibly bugs with the functionality as described. Here is a simple example:

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" color="#113C94" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#F4E9C3, #FDFBFB]" width="1450.3788" height="757.803"> <mx:constraintRows> <mx:ConstraintRow id="row1" height="100"/> </mx:constraintRows> <mx:Canvas id="hpane1" left="0" top="0" right="0" bottom="row1:0"> </mx:Canvas> <mx:Canvas id="hpane2" left="0" top="row1:0" right="0" bottom="0"> </mx:Canvas> </mx:Application>

Unfortunately in design view, hpane1 is laid-out correctly, but hpane2 container is not.

Here is hpane1 selected in the Outline (this is a expected): hpanel1 - OK Here is hpane2 selected in the Outline (not as expected): hpanel-2 NOT OK

Retrieved from "http://labs.adobe.com/wiki/index.php/Talk:Flex_3:Feature_Introductions:_Enhanced_Constraints"