Changing the layout direction of a form item in Flex


  The following example shows how you can change the direction of a FormItem container in Flex by setting thedirection property to "horizontal" or "vertical".   layout="vertical" verticalAlign="middle" backgroundColor="white">  FormItem { labelStyleName: myFormItemLabelStyleName; } .myFormItemLabelStyleName { fontWeight: bold; }       Flex" />      Flex" />    
  /** http://blog.flexexamples.com/2008/03/18/changing-t he-layout-direction-of-a-form-item-in-flex/ */ package { [Bindable] public class Icons { public function Icons() { } [Embed("assets/air_appicon-tn.gif")] public static var AIR_ICON:Class; [Embed("assets/fl_appicon-tn.gif")] public static var FLASH_ICON:Class; [Embed("assets/fl_player_appicon-tn.gif")] public static var FLASH_PLAYER_ICON:Class; [Embed("assets/fx_appicon-tn.gif")] public static var FLEX_ICON:Class; } } 

猜你喜欢

转载自tlr52tlr.iteye.com/blog/1574444