Mike 12.05.2011

  • Created a new component, com.fgm.FGMUtils.ui.LabelContainer, which is a simple bordered container with a label along the top to help with laying out and organizing multiple components.
  • It has the following properties / styles (defaults):
    • label (): text to be displayed along the top
    • labelPlacement (“left”): left, right, or center
    • labelColor (black): color of the label text
    • labelFontSize (whatever application default is): size of the label text, 12 is usually the default of Flex applications
    • labelPadding (5): number of pixels on either side of the label
    • borderAlpha (1.0): alpha of the border lines
    • borderColor (black): color of the border lines
    • borderWeight (1): width, in pixels, of the border lines.  May not exceed the value of borderPadding
    • borderPadding (3): padding between the outside of the component and the border lines
  • A layout may be applied to the container just like another other spark container
  • The component is in the FGMFlexUtils45 Library